org.apache.struts.tiles
public class DefinitionsFactoryException extends TilesException
Field Summary | |
---|---|
Exception | exception
Any "wrapped" exception will be exposed when this is serialized. |
Constructor Summary | |
---|---|
DefinitionsFactoryException()
Constructor. | |
DefinitionsFactoryException(String message)
Constructor. | |
DefinitionsFactoryException(Exception e)
Create a new DefinitionsFactoryException wrapping an existing exception.
| |
DefinitionsFactoryException(String message, Exception e)
Create a new DefinitionsFactoryException from an existing exception.
|
Method Summary | |
---|---|
Exception | getException()
Return the embedded exception, if any. |
String | getMessage()
Return a detail message for this exception.
|
Serial:
Parameters: message The error or warning message.
DefinitionsFactoryException
wrapping an existing exception.
The existing exception will be embedded in the new one and its message will become the default message for the DefinitionsFactoryException.
Parameters: e The exception to be wrapped.
DefinitionsFactoryException
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 exception to be wrapped.
Returns: The embedded exception, or null
if there is none.
If there is a embedded exception, and if the DefinitionsFactoryException has no detail message of its own, this method will return the detail message from the embedded exception.
Returns: The error or warning message.