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, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, setStackTrace, toString
public String getMessage()
getMessage
in class Throwable
Copyright © 2001-2014. All Rights Reserved.