public class InjectionException
extends javax.enterprise.inject.InjectionException
InjectionException
.Constructor and Description |
---|
InjectionException(String message,
Throwable throwable)
Creates a new exception with an arbitrary message and the cause of the
exception.
|
InjectionException(Throwable throwable)
Creates a new exception with the given cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InjectionException(Throwable throwable)
throwable
- The cause of the exceptionpublic InjectionException(String message, Throwable throwable)
message
- The error messagethrowable
- The cause of the exception or wrapped throwablepublic String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public String getMessage()
getMessage
in class Throwable
Copyright © 2016. All rights reserved.