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

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

public class BreakException
extends EvalException

The BreakException class represents an exception which is thrown during program evaluation, when break statement occurs.

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

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

BreakException

public BreakException()
Creates a new break 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.