Package org.apache.tiles
Class TilesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.tiles.TilesException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DefinitionsFactoryException
,DigesterDefinitionsReaderException
,EvaluationException
,InvalidTemplateException
,NoSuchAttributeException
,NoSuchContainerException
,PreparerException
,TilesContainerFactoryException
,TilesVelocityException
public class TilesException extends java.lang.RuntimeException
Root class for all Tiles-exceptions.- Version:
- $Rev: 832867 $ $Date: 2009-11-05 07:16:23 +1100 (Thu, 05 Nov 2009) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TilesException()
Constructor.TilesException(java.lang.String message)
Constructor.TilesException(java.lang.String message, java.lang.Throwable e)
Create a newTilesException
from an existing exception.TilesException(java.lang.Throwable e)
Create a newTilesException
wrapping an existing exception.
-
-
-
Constructor Detail
-
TilesException
public TilesException()
Constructor.
-
TilesException
public TilesException(java.lang.String message)
Constructor.- Parameters:
message
- The error or warning message.
-
TilesException
public TilesException(java.lang.Throwable e)
Create a newTilesException
wrapping an existing exception.The existing exception will be embedded in the new one, and its message will become the default message for the TilesException.
- Parameters:
e
- The cause to be wrapped.
-
TilesException
public TilesException(java.lang.String message, java.lang.Throwable e)
Create a newTilesException
from an existing exception.The existing exception will be embedded in the new one, but the new exception will have its own message.
- Parameters:
message
- The detail message.e
- The cause to be wrapped.
-
-