pl.edu.pjwstk.yaod.yaql
Class SBQLException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--pl.edu.pjwstk.yaod.yaql.SBQLException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- EvalException, LexerException, ParserException
- public class SBQLException
- extends java.lang.Exception
The SBQLException
class represents an exception which is
thrown if an error occurs during program interpretation. It possess
the reason of the error in message
value.
- Author:
- Jakub Trzetrzelewski, jakub_trzetrzelewski@yahoo.com
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
message
|
Constructor Summary |
SBQLException(java.lang.String message)
Creates a new exception with specified message . |
Method Summary |
java.lang.String |
getExceptionName()
Returns the exception name. |
java.lang.String |
getMessage()
Returns the exception message. |
void |
setMessage(java.lang.String message)
Sets the exception message. |
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 |
message
public java.lang.String message
SBQLException
public SBQLException(java.lang.String message)
- Creates a new exception with specified
message
.
- Parameters:
message
- the message representing the error.
getExceptionName
public java.lang.String getExceptionName()
- Returns the exception name.
- Returns:
- the message representing the exception name.
getMessage
public java.lang.String getMessage()
- Returns the exception message.
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- the message representing the reason of the exception.
setMessage
public void setMessage(java.lang.String message)
- Sets the exception message.
- Parameters:
message
- the new message to be set.