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.ExceptionAnExceptionthat is associated with an optionalLocationin 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 LocationgetLocation()java.lang.StringgetMessage()Returns the message specified at creation time, preceeded with nicely formatted location information (if any).
-