public class DependencyException extends Exception
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, setStackTrace
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 © 2005–2022 Open Microscopy Environment. All rights reserved.