net.scheinerman.phoenix.interpreter.exceptions
Class IllegalIdentifierException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.scheinerman.phoenix.interpreter.exceptions.PhoenixRuntimeException
                  extended by net.scheinerman.phoenix.interpreter.exceptions.SyntaxException
                      extended by net.scheinerman.phoenix.interpreter.exceptions.IllegalIdentifierException
All Implemented Interfaces:
java.io.Serializable

public class IllegalIdentifierException
extends SyntaxException

See Also:
Serialized Form

Field Summary
private  java.lang.String identifier
           
private static long serialVersionUID
           
 
Fields inherited from class net.scheinerman.phoenix.interpreter.exceptions.SyntaxException
briefMessage
 
Constructor Summary
IllegalIdentifierException(java.lang.String identifier)
           
 
Method Summary
 java.lang.String getBriefMessage()
          This returns the brief message for this exception.
 java.lang.String getErrorType()
          This returns the error type for this exception which is always, "Syntax error".
 
Methods inherited from class net.scheinerman.phoenix.interpreter.exceptions.PhoenixRuntimeException
getLastLine, isLastLineSet, printErrorMessage, setLastLine, setLastLineSet
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

identifier

private java.lang.String identifier
Constructor Detail

IllegalIdentifierException

public IllegalIdentifierException(java.lang.String identifier)
Method Detail

getErrorType

public java.lang.String getErrorType()
Description copied from class: SyntaxException
This returns the error type for this exception which is always, "Syntax error".

Overrides:
getErrorType in class SyntaxException
Returns:
"Syntax error"

getBriefMessage

public java.lang.String getBriefMessage()
Description copied from class: SyntaxException
This returns the brief message for this exception. If no message was passed to the constructor, the result is the default phrase "Generic syntax error"

Overrides:
getBriefMessage in class SyntaxException
Returns:
The user defined brief message or, if none, "Generic syntax error"