cc.plural.jsonij.parser
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cc.plural.jsonij.parser.BaseParserException
              extended by cc.plural.jsonij.parser.ParserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JPathParserException, JSONMarshalerException, JSONParserException

public abstract class ParserException
extends BaseParserException

Internationised Parser Exception.

Version:
1.0.0
Author:
J.W.Marsden
See Also:
Serialized Form

Field Summary
protected  String key
          Exception Key
protected  Locale locale
          Exception Locale
 
Fields inherited from class cc.plural.jsonij.parser.BaseParserException
line, message, position
 
Constructor Summary
ParserException(String key, int line, int position, Locale locale, Object... args)
          Constructor Including Line Number, Position Number and Locale of Exception.
ParserException(String key, int line, int position, Object... args)
          Constructor Including Line Number and Position Number of Exception
ParserException(String key, Object... args)
          Basic Constructor.
 
Method Summary
abstract  String getBundleName()
           
 
Methods inherited from class cc.plural.jsonij.parser.BaseParserException
getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected String key
Exception Key


locale

protected Locale locale
Exception Locale

Constructor Detail

ParserException

public ParserException(String key,
                       Object... args)
Basic Constructor.

Parameters:
key - Exception key
args - Additional Arguments for Exception

ParserException

public ParserException(String key,
                       int line,
                       int position,
                       Object... args)
Constructor Including Line Number and Position Number of Exception

Parameters:
key - Exception Key
line - Exception Line
position - Exception Position
args - Additional Arguments for Exception

ParserException

public ParserException(String key,
                       int line,
                       int position,
                       Locale locale,
                       Object... args)
Constructor Including Line Number, Position Number and Locale of Exception.

Parameters:
key - Exception Key
line - Exception Line
position - Exception Position
locale - Valid Locale for the exception
args - Additional Arguments for Exception
Method Detail

getBundleName

public abstract String getBundleName()


Copyright © 2012. All Rights Reserved.