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
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 |
EmptyReturnException
public EmptyReturnException()
- Creates a new empty return exception.
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.