Package com.oorian.inject
Class ServiceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oorian.inject.ServiceNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when a requested service is not found in the
ServiceLocator.- Since:
- 2.1
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceNotFoundException(Class<?> serviceClass) Creates a ServiceNotFoundException for the given service type.ServiceNotFoundException(String message) Creates a ServiceNotFoundException with a custom message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceNotFoundException
Creates a ServiceNotFoundException for the given service type.- Parameters:
serviceClass- the service class that was not found
-
ServiceNotFoundException
Creates a ServiceNotFoundException with a custom message.- Parameters:
message- the detail message
-