pl.edu.pjwstk.yaod.yaql.engine
Class EmptyStackException

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.engine.EmptyStackException
All Implemented Interfaces:
java.io.Serializable

public class EmptyStackException
extends EvalException

The EmptyStackException class represents an exception which is thrown if an error occurs during stack operations on empty stack. It possess the reason of the error in message value.

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

Fields inherited from class pl.edu.pjwstk.yaod.yaql.SBQLException
message
 
Constructor Summary
EmptyStackException(java.lang.String message)
          Creates a new exception with specified message.
 
Method Summary
 java.lang.String getExceptionName()
          Returns the exception name.
 
Methods inherited from class pl.edu.pjwstk.yaod.yaql.visitors.EvalException
getFullMessage
 
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

EmptyStackException

public EmptyStackException(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 EvalException
Returns:
the message representing the exception name.