public class DependencyException
extends java.lang.Exception
Constructor and Description |
---|
DependencyException(java.lang.String message)
Default constructor.
|
DependencyException(java.lang.String message,
java.lang.Class<? extends Service> klass)
Default constructor.
|
DependencyException(java.lang.String message,
java.lang.Class<? extends Service> klass,
java.lang.Throwable cause)
Default constructor.
|
DependencyException(java.lang.Throwable cause)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Service> |
getFailureClass()
Returns the class that was used during a failed instantiation.
|
java.lang.String |
toString() |
public DependencyException(java.lang.String message)
message
- Error message.public DependencyException(java.lang.String message, java.lang.Class<? extends Service> klass)
message
- Error message.klass
- Failed instantiation class.public DependencyException(java.lang.String message, java.lang.Class<? extends Service> klass, java.lang.Throwable cause)
message
- Error message.klass
- Failed instantiation class.cause
- Upstream exception.public DependencyException(java.lang.Throwable cause)
cause
- Upstream exception.public java.lang.Class<? extends Service> getFailureClass()
public java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 2014 Open Microscopy Environment