Package org.apache.struts.tiles
Class TilesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.struts.tiles.TilesException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DefinitionsFactoryException
Root class for all Tiles-exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor.Create a newTilesException
wrapping an existing exception.TilesException
(String message) Constructor.TilesException
(String message, Exception e) Create a newTilesException
from an existing exception. -
Method Summary
Modifier and TypeMethodDescriptionReturn the embedded exception, if any.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TilesException
public TilesException()Constructor. -
TilesException
Constructor.- Parameters:
message
- The error or warning message.
-
TilesException
Create a newTilesException
wrapping an existing exception.- Parameters:
e
- The root cause exception
-
TilesException
Create a newTilesException
from an existing exception.- Parameters:
message
- The detail message.e
- The root cause exception
-
-
Method Details
-
getException
Return the embedded exception, if any.- Returns:
- The root cause exception, or
null
if there is none.
-