Package org.codehaus.commons.compiler
Class LocatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.commons.compiler.LocatedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CompileException
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocatedException(String message, Location location) LocatedException(String message, Location location, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the message specified at creation time, preceeded with nicely formatted location information (if any).Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
location
-
-
Constructor Details
-
LocatedException
-
LocatedException
-
-
Method Details
-
getMessage
Returns the message specified at creation time, preceeded with nicely formatted location information (if any).- Overrides:
getMessagein classThrowable
-
getLocation
- Returns:
- The
Locationspecified at construction time (may benull)
-