public class TapestryException extends RuntimeException implements Locatable
RuntimeException when the exception is related to a
particular location.| Constructor and Description |
|---|
TapestryException(String message,
Location location,
Throwable cause) |
TapestryException(String message,
Object location,
Throwable cause) |
TapestryException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation()
Returns the location associated with this object for error reporting purposes.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic TapestryException(String message, Object location, Throwable cause)
public TapestryException(String message, Throwable cause)
message - a message (may be null)cause - if not null, the root cause of the exception, also used to set the locationpublic TapestryException(String message, Location location, Throwable cause)
message - a message (may be null)location - location to associated with the exception, or null if not knowncause - if not null, the root cause of the exceptionpublic Location getLocation()
LocatablegetLocation in interface Locatable5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.