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:
getMessage
in classThrowable
-
getLocation
- Returns:
- The
Location
specified at construction time (may benull
)
-