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:
java.io.Serializable
public class InjectionException extends java.lang.RuntimeExceptionThe 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(java.lang.String msg)Constructs a new injection exception with the specified message.InjectionException(java.lang.String msg, java.lang.Throwable e)Constructs a new injection exception with the specified cause and message.InjectionException(java.lang.Throwable e)Constructs a new injection exception with the specified cause.
-
-
-
Constructor Detail
-
InjectionException
public InjectionException()
Constructs a new injection exception.
-
InjectionException
public InjectionException(java.lang.Throwable e)
Constructs a new injection exception with the specified cause.- Parameters:
e- original exception
-
InjectionException
public InjectionException(java.lang.String msg)
Constructs a new injection exception with the specified message.- Parameters:
msg- the error message
-
InjectionException
public InjectionException(java.lang.String msg, java.lang.Throwable e)Constructs a new injection exception with the specified cause and message.- Parameters:
msg- the error messagee- original exception
-
-