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

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--pl.edu.pjwstk.yaod.yaql.SBQLException
                    |
                    +--pl.edu.pjwstk.yaod.yaql.visitors.EvalException
                          |
                          +--pl.edu.pjwstk.yaod.yaql.visitors.EmptyReturnException
All Implemented Interfaces:
java.io.Serializable

public class EmptyReturnException
extends EvalException

The EmptyReturnException class represents an exception which is thrown during program evaluation, when empty return statement occurs.

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

Fields inherited from class pl.edu.pjwstk.yaod.yaql.SBQLException
message
 
Constructor Summary
EmptyReturnException()
          Creates a new empty return exception.
 
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

EmptyReturnException

public EmptyReturnException()
Creates a new empty return exception.
Method Detail

getExceptionName

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

getFullMessage

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