| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.struts.tiles.TilesException org.apache.struts.tiles.DefinitionsFactoryException
All known Subclasses: org.apache.struts.tiles.FactoryNotFoundException, org.apache.struts.tiles.NoSuchDefinitionException,
DefinitionsFactoryException | public class DefinitionsFactoryException extends TilesException (Code) | | Exception thrown when an error occurs while the factory tries to
create a new instance mapper.
|
DefinitionsFactoryException | public DefinitionsFactoryException()(Code) | | Constructor.
|
DefinitionsFactoryException | public DefinitionsFactoryException(String message)(Code) | | Constructor.
Parameters: message - The error or warning message. |
DefinitionsFactoryException | public DefinitionsFactoryException(Exception e)(Code) | | Create a new 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 | public DefinitionsFactoryException(String message, Exception e)(Code) | | Create a new 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. 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 DefinitionsFactoryException
has no detail message of its own, this method will return
the detail message from the embedded exception.
The error or warning message. |
|
|