java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.struts.tiles.TilesException
org.apache.struts.tiles.DefinitionsFactoryException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- FactoryNotFoundException, NoSuchDefinitionException
- public class DefinitionsFactoryException
- extends TilesException
Exception thrown when an error occurs while the factory tries to
create a new instance mapper.
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
exception
private java.lang.Exception exception
- Any "wrapped" exception will be exposed when this is serialized.
DefinitionsFactoryException
public DefinitionsFactoryException()
- Constructor.
DefinitionsFactoryException
public DefinitionsFactoryException(java.lang.String message)
- Constructor.
DefinitionsFactoryException
public DefinitionsFactoryException(java.lang.Exception e)
- 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.
DefinitionsFactoryException
public DefinitionsFactoryException(java.lang.String message,
java.lang.Exception e)
- 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.
getMessage
public java.lang.String getMessage()
- 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.
- Overrides:
getMessage in class TilesException
getException
public java.lang.Exception getException()
- Return the embedded exception, if any.
- Overrides:
getException in class TilesException