Class ServiceNotFoundException

All Implemented Interfaces:
Serializable

public class ServiceNotFoundException extends RuntimeException
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 Details

    • ServiceNotFoundException

      public ServiceNotFoundException(Class<?> serviceClass)
      Creates a ServiceNotFoundException for the given service type.
      Parameters:
      serviceClass - the service class that was not found
    • ServiceNotFoundException

      public ServiceNotFoundException(String message)
      Creates a ServiceNotFoundException with a custom message.
      Parameters:
      message - the detail message