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
public class InjectionException extends RuntimeException
The exception indicates a error that occurred while performing dependency injection. UseThrowable.getCause()
to obtain underlying exception, if any.- Since:
- 1.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InjectionException()
Constructs 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.InjectionException(Throwable e)
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 Detail
-
InjectionException
public InjectionException()
Constructs a new injection exception.
-
InjectionException
public InjectionException(Throwable e)
Constructs a new injection exception with the specified cause.- Parameters:
e
- original exception
-
InjectionException
public InjectionException(String msg)
Constructs a new injection exception with the specified message.- Parameters:
msg
- the error message
-
-