org.apache.struts.tiles
Class DefinitionsFactoryException
public class DefinitionsFactoryException
Exception thrown when an error occurs while the factory tries to
create a new instance mapper.
private Exception | exception- Any "wrapped" exception will be exposed when this is serialized.
|
Exception | getException()- Return the embedded exception, if any.
|
String | getMessage()- Return a detail message for this exception.
|
exception
private Exception exception
Any "wrapped" exception will be exposed when this is serialized.
DefinitionsFactoryException
public DefinitionsFactoryException()
Constructor.
DefinitionsFactoryException
public DefinitionsFactoryException(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.
e - The exception to be wrapped.
DefinitionsFactoryException
public DefinitionsFactoryException(String message)
Constructor.
message - The error or warning message.
DefinitionsFactoryException
public DefinitionsFactoryException(String message,
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.
message - The detail message.e - The exception to be wrapped.
getException
public Exception getException()
Return the embedded exception, if any.
- getException in interface TilesException
- The embedded exception, or
null if there is none.
getMessage
public 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.
- getMessage in interface TilesException
- The error or warning message.
Copyright ?? 2000-2014 - The Apache Software Foundation