org.codehaus.backport175.compiler.parser
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codehaus.backport175.compiler.CompilerException
org.codehaus.backport175.compiler.parser.ParseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AnnotationValidationException
public class ParseException
- extends CompilerException
Thrown when error in parsing the annotation expression
ie when the JSR-175 checks fails.
Those errors should not interrupt the compilation
- Author:
- Jonas Bonér
- See Also:
- Serialized Form
Constructor Summary |
ParseException(java.lang.String message)
Sets the message for the exception. |
ParseException(java.lang.String message,
SourceLocation sourceLocation)
|
ParseException(java.lang.String message,
java.lang.Throwable throwable)
Sets the message for the exception and the original exception being wrapped. |
ParseException(java.lang.String message,
java.lang.Throwable throwable,
SourceLocation sourceLocation)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParseException
public ParseException(java.lang.String message)
- Sets the message for the exception.
- Parameters:
message
- the message
ParseException
public ParseException(java.lang.String message,
java.lang.Throwable throwable)
- Sets the message for the exception and the original exception being wrapped.
- Parameters:
message
- the detail of the error messagethrowable
- the original exception
ParseException
public ParseException(java.lang.String message,
java.lang.Throwable throwable,
SourceLocation sourceLocation)
- Parameters:
message
- throwable
- sourceLocation
-
ParseException
public ParseException(java.lang.String message,
SourceLocation sourceLocation)
- Parameters:
message
- sourceLocation
-