public class InjectionException extends RuntimeException
| Constructor and Description |
|---|
InjectionException()
Constructs a
InjectionException with no detail message. |
InjectionException(String msg)
Constructs a
InjectionException with the specified detail message. |
InjectionException(String msg,
Throwable cause)
Constructs a
InjectionException with the specified detail message and cause. |
InjectionException(Throwable cause)
Constructs a
InjectionException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InjectionException()
InjectionException with no detail message. The cause is not initialized, and may subsequently be
initialized by a call to initCause.public InjectionException(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(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(String msg, 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 © 2017 JBoss by Red Hat. All rights reserved.