public class FactoryConfigurationError
extends java.lang.Error
Constructor and Description |
---|
FactoryConfigurationError()
Create a new
FactoryConfigurationError with no
detail message. |
FactoryConfigurationError(java.lang.Exception e)
Create a new
FactoryConfigurationError with a
given Exception base cause of the error. |
FactoryConfigurationError(java.lang.Exception e,
java.lang.String msg)
Create a new
FactoryConfigurationError with the
given Exception base cause and detail message. |
FactoryConfigurationError(java.lang.String msg)
Create a new
FactoryConfigurationError with
the String specified as an error message. |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Return the actual exception (if any) that caused this exception to
be raised.
|
java.lang.String |
getMessage()
Return the message (if any) for this error .
|
public FactoryConfigurationError()
FactoryConfigurationError
with no
detail message.public FactoryConfigurationError(java.lang.String msg)
FactoryConfigurationError
with
the String
specified as an error message.msg
- The error message for the exception.public FactoryConfigurationError(java.lang.Exception e)
FactoryConfigurationError
with a
given Exception
base cause of the error.e
- The exception to be encapsulated in a
FactoryConfigurationError.public FactoryConfigurationError(java.lang.Exception e, java.lang.String msg)
FactoryConfigurationError
with the
given Exception
base cause and detail message.e
- The exception to be encapsulated in a
FactoryConfigurationErrormsg
- The detail message.public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.Exception getException()
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.