Package org.codehaus.commons.compiler
Class LocatedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.codehaus.commons.compiler.LocatedException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CompileException
public class LocatedException extends java.lang.Exception
AnException
that is associated with an optionalLocation
in a source file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocatedException(java.lang.String message, Location location)
LocatedException(java.lang.String message, Location location, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getLocation()
java.lang.String
getMessage()
Returns the message specified at creation time, preceeded with nicely formatted location information (if any).
-