Class TapestryException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tapestry5.commons.internal.util.TapestryException
All Implemented Interfaces:
Serializable, Locatable
Direct Known Subclasses:
CoercionFailedException, ComponentEventException, DifferentClassVersionsException, FormsRequirePostException, OperationException, RenderQueueException, UnknownValueException

public class TapestryException extends RuntimeException implements Locatable
Exception class used as a replacement for RuntimeException when the exception is related to a particular location.
See Also:
  • Constructor Details

    • TapestryException

      public TapestryException(String message, Object location, Throwable cause)
      Parameters:
      message - a message (may be null)
      location - implements Location or Locatable
      cause - if not null, the root cause of the exception
    • TapestryException

      public TapestryException(String message, 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
    • TapestryException

      public TapestryException(String message, Location location, 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 Details