public class AnnotationValidationException extends ParseException
m_originalException, m_sourceLocation
Constructor and Description |
---|
AnnotationValidationException(java.lang.String message)
Sets the message for the exception.
|
AnnotationValidationException(java.lang.String message,
SourceLocation location)
Sets the message and location for the exception.
|
AnnotationValidationException(java.lang.String message,
java.lang.Throwable throwable)
Sets the message for the exception and the original exception being wrapped.
|
Modifier and Type | Method and Description |
---|---|
void |
setLocation(SourceLocation location)
Update the source location
|
getLocation, printStackTrace, printStackTrace, printStackTrace
public AnnotationValidationException(java.lang.String message)
message
- the messagepublic AnnotationValidationException(java.lang.String message, SourceLocation location)
message
- the messagelocation
- public AnnotationValidationException(java.lang.String message, java.lang.Throwable throwable)
message
- the detail of the error messagethrowable
- the original exceptionpublic void setLocation(SourceLocation location)
location
-