pl.edu.pjwstk.yaod.yaql.visitors
Class EvalException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--pl.edu.pjwstk.yaod.yaql.SBQLException
                    |
                    +--pl.edu.pjwstk.yaod.yaql.visitors.EvalException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BreakException, EmptyReturnException, EmptyStackException, ReturnException, TypeMismatchException

public class EvalException
extends SBQLException

The EvalException class represents an exception which is thrown if an error occurs during program evaluation. It possess the reason of the error in message value.

Author:
Jakub Trzetrzelewski, jakub_trzetrzelewski@yahoo.com
See Also:
SBQLException, Serialized Form

Fields inherited from class pl.edu.pjwstk.yaod.yaql.SBQLException
message
 
Constructor Summary
EvalException(java.lang.String message)
          Creates a new exception with specified message.
 
Method Summary
 java.lang.String getExceptionName()
          Returns the exception name.
 java.lang.String getFullMessage()
          Returns the full exception message.
 
Methods inherited from class pl.edu.pjwstk.yaod.yaql.SBQLException
getMessage, setMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvalException

public EvalException(java.lang.String message)
Creates a new exception with specified message.
Parameters:
message - the message representing the error.
Method Detail

getExceptionName

public java.lang.String getExceptionName()
Returns the exception name.
Overrides:
getExceptionName in class SBQLException
Returns:
the message representing the exception name.

getFullMessage

public java.lang.String getFullMessage()
Returns the full exception message.
Returns:
the message representing the reason of the exception.