public class FactoryConfigurationError extends Error
Constructor and Description |
---|
FactoryConfigurationError()
Create a new
FactoryConfigurationError with no
detail mesage. |
FactoryConfigurationError(Exception e)
Create a new
FactoryConfigurationError with a
given Exception base cause of the error. |
FactoryConfigurationError(Exception e,
String msg)
Create a new
FactoryConfigurationError with the
given Exception base cause and detail message. |
FactoryConfigurationError(String msg)
Create a new
FactoryConfigurationError with
the String specified as an error message. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
use the exception chaining mechanism of JDK1.4
|
Exception |
getException()
Return the actual exception (if any) that caused this exception to
be raised.
|
String |
getMessage()
Return the message (if any) for this error .
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FactoryConfigurationError()
FactoryConfigurationError
with no
detail mesage.public FactoryConfigurationError(String msg)
FactoryConfigurationError
with
the String
specified as an error message.msg
- The error message for the exception.public FactoryConfigurationError(Exception e)
FactoryConfigurationError
with a
given Exception
base cause of the error.e
- The exception to be encapsulated in a
FactoryConfigurationError.public String getMessage()
getMessage
in class Throwable
public Exception getException()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.