Package org.int4.dirk.api.instantiation
Class CreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.int4.dirk.api.instantiation.InjectionException
-
- org.int4.dirk.api.instantiation.CreationException
-
- All Implemented Interfaces:
java.io.Serializable
public class CreationException extends InjectionException
Thrown when during (post-)construction of a dependency a problem occurs. Constructors that throw an exception, setters or post constructors which trigger further dependency construction which eventually need the current object under construction (causing a loop) and so on.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreationException(java.lang.String message)Constructs a new instance.CreationException(java.lang.String message, java.lang.Throwable cause)Constructs a new instance.
-
-
-
Constructor Detail
-
CreationException
public CreationException(java.lang.String message, java.lang.Throwable cause)Constructs a new instance.- Parameters:
message- a message, cannot benullcause- aThrowableto use as cause
-
CreationException
public CreationException(java.lang.String message)
Constructs a new instance.- Parameters:
message- a message, cannot benull
-
-