| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.struts.tiles.TilesException
All known Subclasses: org.apache.struts.tiles.DefinitionsFactoryException,
TilesException | public class TilesException extends Exception (Code) | | Root class for all Tiles-exceptions.
|
TilesException | public TilesException()(Code) | | Constructor.
|
TilesException | public TilesException(String message)(Code) | | Constructor.
Parameters: message - The error or warning message. |
TilesException | public TilesException(Exception e)(Code) | | Create a new TilesException 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 exception to be wrapped. |
TilesException | public TilesException(String message, Exception e)(Code) | | Create a new TilesException 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. Parameters: e - The exception to be wrapped. |
getException | public Exception getException()(Code) | | Return the embedded exception, if any.
The embedded exception, or null if there is none. |
getMessage | public String getMessage()(Code) | | Return a detail message for this exception.
If there is a embedded exception, and if the TilesException
has no detail message of its own, this method will return
the detail message from the embedded exception.
The error or warning message. |
|
|