org.clazzes.util.comparators
Class InvalidExpressionSyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.clazzes.util.comparators.InvalidExpressionSyntaxException
All Implemented Interfaces:
java.io.Serializable

public class InvalidExpressionSyntaxException
extends java.lang.Exception

This exception is thrown, whever the syntax of a comparator expression is invalid.

Author:
wglas
See Also:
Serialized Form

Constructor Summary
InvalidExpressionSyntaxException(java.lang.String expression)
           
InvalidExpressionSyntaxException(java.lang.String expression, java.lang.String msg)
           
InvalidExpressionSyntaxException(java.lang.String expression, java.lang.String msg, java.lang.Throwable e)
           
InvalidExpressionSyntaxException(java.lang.String expression, java.lang.Throwable e)
           
 
Method Summary
 java.lang.String getExpression()
           
 java.lang.String getLocalizedMessage()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidExpressionSyntaxException

public InvalidExpressionSyntaxException(java.lang.String expression)
Parameters:
expression - The expression which caused the exception.
See Also:
Exception.Exception()

InvalidExpressionSyntaxException

public InvalidExpressionSyntaxException(java.lang.String expression,
                                        java.lang.String msg,
                                        java.lang.Throwable e)
Parameters:
msg - The error message.
e - The cause of the error.
expression - The expression which caused the exception.
See Also:
Exception.Exception(String, Throwable)

InvalidExpressionSyntaxException

public InvalidExpressionSyntaxException(java.lang.String expression,
                                        java.lang.String msg)
Parameters:
expression - The expression which caused the exception.
msg - The error message.
See Also:
Exception.Exception(String)

InvalidExpressionSyntaxException

public InvalidExpressionSyntaxException(java.lang.String expression,
                                        java.lang.Throwable e)
Parameters:
expression - The expression which caused the exception.
e - The cause of the error.
See Also:
Exception.Exception(Throwable)
Method Detail

getExpression

public java.lang.String getExpression()
Returns:
The expression that caused the exception.

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Overrides:
getLocalizedMessage in class java.lang.Throwable


Copyright © 2010. All Rights Reserved.