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
An exception relating to a problem with the creation of an EE component.
- Author:
- David M. Lloyd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aComponentCreateExceptionwith no detail message.Constructs aComponentCreateExceptionwith the specified detail message.ComponentCreateException(String msg, Throwable cause) Constructs aComponentCreateExceptionwith the specified detail message and cause.Constructs aComponentCreateExceptionwith 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 Details
-
ComponentCreateException
public ComponentCreateException()Constructs aComponentCreateExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause. -
ComponentCreateException
Constructs aComponentCreateExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
msg- the detail message
-
ComponentCreateException
Constructs aComponentCreateExceptionwith 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
Constructs aComponentCreateExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-