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
public class LocatedException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocatedException(String message, Location location)
LocatedException(String message, Location location, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getLocation()
String
getMessage()
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
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
Returns the message specified at creation time, preceeded with nicely formatted location information (if any).- Overrides:
getMessage
in classThrowable
-
-