|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectThrowable
Exception
RuntimeException
se.jbee.inject.DIRuntimeException
public class DIRuntimeException
Base RuntimeException for all exceptions cennected to the dependency injection process
itself.
| Nested Class Summary | |
|---|---|
static class |
DIRuntimeException.DependencyCycleException
A dependency cycle so that injection is not possible. |
static class |
DIRuntimeException.MoreFrequentExpiryException
It has been tried to inject a shorter living instance into one that will most likely outlive the injected one. |
static class |
DIRuntimeException.NoSuchFunctionException
A method has been described by its return and Parameter Types (e.g. for use
as factory or service) but such a method cannot be found. |
static class |
DIRuntimeException.NoSuchResourceException
An Injector couldn't find a Resource that matches a Dependency to
resolve. |
| Constructor Summary | |
|---|---|
DIRuntimeException(String message)
|
|
| Method Summary | |
|---|---|
static String |
describe(Injectron<?>... injectrons)
|
static String |
injectionStack(Dependency<?> dependency)
|
String |
toString()
|
| Methods inherited from class Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DIRuntimeException(String message)
| Method Detail |
|---|
public String toString()
toString in class Throwablepublic static String injectionStack(Dependency<?> dependency)
public static String describe(Injectron<?>... injectrons)
|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||