public class DefinitionsFactoryException extends TilesException
Constructor and Description |
---|
DefinitionsFactoryException()
Constructor.
|
DefinitionsFactoryException(Exception e)
Create a new
DefinitionsFactoryException wrapping an existing exception. |
DefinitionsFactoryException(String message)
Constructor.
|
DefinitionsFactoryException(String message,
Exception e)
Create a new
DefinitionsFactoryException from an existing exception. |
Modifier and Type | Method and Description |
---|---|
Exception |
getException()
Return the embedded exception, if any.
|
String |
getMessage()
Return a detail message for this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DefinitionsFactoryException()
public DefinitionsFactoryException(String message)
message
- The error or warning message.public DefinitionsFactoryException(Exception e)
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.public DefinitionsFactoryException(String message, Exception e)
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.public String getMessage()
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 class TilesException
public Exception getException()
getException
in class TilesException
null
if there is none.Copyright © 2000–2017 Apache Software Foundation. All rights reserved.