Class TapestryException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- org.apache.tapestry5.commons.internal.util.TapestryException
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- Locatable
 - Direct Known Subclasses:
- CoercionFailedException,- ComponentEventException,- DifferentClassVersionsException,- FormsRequirePostException,- OperationException,- RenderQueueException,- UnknownValueException
 
 public class TapestryException extends java.lang.RuntimeException implements Locatable Exception class used as a replacement forRuntimeExceptionwhen the exception is related to a particular location.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TapestryException(java.lang.String message, java.lang.Object location, java.lang.Throwable cause)TapestryException(java.lang.String message, java.lang.Throwable cause)TapestryException(java.lang.String message, Location location, java.lang.Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationgetLocation()Returns the location associated with this object for error reporting purposes.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
TapestryExceptionpublic TapestryException(java.lang.String message, java.lang.Object location, java.lang.Throwable cause) 
 - 
TapestryExceptionpublic TapestryException(java.lang.String message, java.lang.Throwable cause) - Parameters:
- message- a message (may be null)
- cause- if not null, the root cause of the exception, also used to set the location
 
 - 
TapestryExceptionpublic TapestryException(java.lang.String message, Location location, java.lang.Throwable cause) - Parameters:
- message- a message (may be null)
- location- location to associated with the exception, or null if not known
- cause- if not null, the root cause of the exception
 
 
- 
 - 
Method Detail- 
getLocationpublic Location getLocation() Description copied from interface:LocatableReturns the location associated with this object for error reporting purposes.- Specified by:
- getLocationin interface- Locatable
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Throwable
 
 
- 
 
-