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:
-
Constructor Summary
ConstructorsConstructorDescriptionLocatedException(String message, Location optionalLocation) LocatedException(String message, Location optionalLocation, Throwable optionalCause) -
Method Summary
Modifier and TypeMethodDescriptionReturns theLocationobject specified at construction time (may benull).Returns 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
-
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 theLocationobject specified at construction time (may benull).
-