Package org.eclipse.e4.core.di
Class InjectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.e4.core.di.InjectionException
- All Implemented Interfaces:
Serializable
The exception indicates a error that occurred while performing dependency
injection. Use
Throwable.getCause()
to obtain underlying exception, if any.- Since:
- 1.7
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new injection exception.InjectionException
(String msg) Constructs a new injection exception with the specified message.InjectionException
(String msg, Throwable e) Constructs a new injection exception with the specified cause and message.Constructs a new injection exception with 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
-
InjectionException
public InjectionException()Constructs a new injection exception. -
InjectionException
Constructs a new injection exception with the specified cause.- Parameters:
e
- original exception
-
InjectionException
Constructs a new injection exception with the specified message.- Parameters:
msg
- the error message
-
InjectionException
Constructs a new injection exception with the specified cause and message.- Parameters:
msg
- the error messagee
- original exception
-