public class ComponentCreateException extends Exception
Constructor and Description |
---|
ComponentCreateException()
Constructs a
ComponentCreateException with no detail message. |
ComponentCreateException(String msg)
Constructs a
ComponentCreateException with the specified detail message. |
ComponentCreateException(String msg,
Throwable cause)
Constructs a
ComponentCreateException with the specified detail message and cause. |
ComponentCreateException(Throwable cause)
Constructs a
ComponentCreateException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ComponentCreateException()
ComponentCreateException
with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.public ComponentCreateException(String msg)
ComponentCreateException
with the specified detail message. The cause is not initialized,
and may subsequently be initialized by a call to initCause
.msg
- the detail messagepublic ComponentCreateException(Throwable cause)
ComponentCreateException
with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause
).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)public ComponentCreateException(String msg, Throwable cause)
ComponentCreateException
with the specified detail message and cause.msg
- the detail messagecause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)Copyright © 2015 JBoss by Red Hat. All rights reserved.