org.codehaus.backport175.compiler.parser
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.codehaus.backport175.compiler.CompilerException
                  extended by 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

Field Summary
 
Fields inherited from class org.codehaus.backport175.compiler.CompilerException
m_originalException, m_sourceLocation
 
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)
           
 
Method Summary
 
Methods inherited from class org.codehaus.backport175.compiler.CompilerException
getLocation, printStackTrace, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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 message
throwable - 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 -