public class DependencyException extends Exception
| Modifier and Type | Field and Description |
|---|---|
private Class<? extends Service> |
failureClass
The class that was used in a failed instantiation.
|
private static long |
serialVersionUID
Serial for this version.
|
| Constructor and Description |
|---|
DependencyException(String message)
Default constructor.
|
DependencyException(String message,
Class<? extends Service> klass)
Default constructor.
|
DependencyException(String message,
Class<? extends Service> klass,
Throwable cause)
Default constructor.
|
DependencyException(Throwable cause)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Service> |
getFailureClass()
Returns the class that was used during a failed instantiation.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprivate static final long serialVersionUID
public DependencyException(String message)
message - Error message.public DependencyException(String message, Class<? extends Service> klass)
message - Error message.klass - Failed instantiation class.public DependencyException(String message, Class<? extends Service> klass, Throwable cause)
message - Error message.klass - Failed instantiation class.cause - Upstream exception.public DependencyException(Throwable cause)
cause - Upstream exception.Copyright © 2016 Open Microscopy Environment