public class InjectionException
extends java.lang.RuntimeException
Constructor and Description |
---|
InjectionException()
Constructs a
InjectionException with no detail message. |
InjectionException(java.lang.String msg)
Constructs a
InjectionException with the specified detail message. |
InjectionException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a
InjectionException with the specified detail message and cause. |
InjectionException(java.lang.Throwable cause)
Constructs a
InjectionException with the specified cause. |
public InjectionException()
InjectionException
with no detail message. The cause is not initialized, and may subsequently be
initialized by a call to initCause
.public InjectionException(java.lang.String msg)
InjectionException
with the specified detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.msg
- the detail messagepublic InjectionException(java.lang.Throwable cause)
InjectionException
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 InjectionException(java.lang.String msg, java.lang.Throwable cause)
InjectionException
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 © 2011 JBoss, a division of Red Hat, Inc.