org.ourgrid.common.exception
Class TokenErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ourgrid.common.exception.OurgridException
org.ourgrid.common.exception.TokenErrorException
- All Implemented Interfaces:
- java.io.Serializable
public class TokenErrorException
- extends OurgridException
Used to signalize that a part of the expression is syntactically malformed.
This expression is used at MyGrid to define the Job expressions to the match
moment. If the expressions passed by the compiler, it was already checked but
the user can use the Job definitions direct at the API.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getMessage()
Returns the exception message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TokenErrorException
public TokenErrorException(java.lang.String expression,
java.lang.String detail)
- Parameters:
expression
- the malformed expressiondetail
- a message detail about the error
getMessage
public java.lang.String getMessage()
- Returns the exception message.
- Overrides:
getMessage
in class OurgridException
- Returns:
- The message