Package org.jboss.as.ee.component
Class ComponentCreateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jboss.as.ee.component.ComponentCreateException
-
- All Implemented Interfaces:
Serializable
public class ComponentCreateException extends Exception
An exception relating to a problem with the creation of an EE component.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentCreateException()
Constructs aComponentCreateException
with no detail message.ComponentCreateException(String msg)
Constructs aComponentCreateException
with the specified detail message.ComponentCreateException(String msg, Throwable cause)
Constructs aComponentCreateException
with the specified detail message and cause.ComponentCreateException(Throwable cause)
Constructs aComponentCreateException
with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ComponentCreateException
public ComponentCreateException()
Constructs aComponentCreateException
with no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.
-
ComponentCreateException
public ComponentCreateException(String msg)
Constructs aComponentCreateException
with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.- Parameters:
msg
- the detail message
-
ComponentCreateException
public ComponentCreateException(Throwable cause)
Constructs aComponentCreateException
with the specified cause. The detail message is set to:(cause == null ? null : cause.toString())
(which typically contains the class and detail message ofcause
).- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)
-
ComponentCreateException
public ComponentCreateException(String msg, Throwable cause)
Constructs aComponentCreateException
with the specified detail message and cause.- Parameters:
msg
- the detail messagecause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)
-
-