# Class ServiceNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.management.JMException
javax.management.OperationsException
javax.management.ServiceNotFoundException

All Implemented Interfaces:
  `Serializable`

public class ServiceNotFoundException extends OperationsException
Represents exceptions raised when a requested service is not supported.

Since:
  1.5
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ServiceNotFoundException()`
  Default constructor.
  `ServiceNotFoundException(String message)`
  Constructor that allows a specific error message to be specified.

- ## Method Summary

  ### Methods declared in class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods declared in class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ServiceNotFoundException

    public ServiceNotFoundException()
    Default constructor.

  - ### ServiceNotFoundException

    public ServiceNotFoundException(String message)
    Constructor that allows a specific error message to be specified.
    Parameters:
      `message` - the detail message.