public class LocatedException extends CausedException
| Constructor and Description |
|---|
LocatedException(String message,
Location optionalLocation) |
LocatedException(String message,
Location optionalLocation,
Throwable optionalCause) |
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation()
Returns the
Location object specified at
construction time (may be null). |
String |
getMessage()
Returns the message specified at creation time, preceeded with nicely formatted location
information (if any).
|
getCause, initCause, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, setStackTrace, toStringpublic String getMessage()
getMessage in class ThrowableCopyright © 2001-2012. All Rights Reserved.