Package org.opentcs.components.kernel.services

# Class ServiceUnavailableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentcs.access.KernelRuntimeException
org.opentcs.components.kernel.services.ServiceUnavailableException

All Implemented Interfaces:
  `java.io.Serializable`

    public class ServiceUnavailableException
    extends KernelRuntimeException

Thrown when a (remote) service is not available for processing a request.

See Also:
  Serialized Form

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `ServiceUnavailableException​(java.lang.String message)` | Creates a new ServiceUnavailableException with the given detail message.
  `ServiceUnavailableException​(java.lang.String message, java.lang.Throwable cause)` | Creates a new ServiceUnavailableException with the given detail message and cause.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

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

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### ServiceUnavailableException

    public ServiceUnavailableException​(java.lang.String message)
    Creates a new ServiceUnavailableException with the given detail message.
    Parameters:
      `message` - The detail message.

  - ### ServiceUnavailableException

    public ServiceUnavailableException​(java.lang.String message, java.lang.Throwable cause)
    Creates a new ServiceUnavailableException with the given detail message and cause.
    Parameters:
      `message` - The detail message.
      `cause` - The cause.