Class KernelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentcs.access.KernelException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ResourceAllocationException

public class KernelException
extends java.lang.Exception
implements java.io.Serializable
An exception thrown by the openTCS kernel.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    KernelException()
    Constructs a new instance with no detail message.
    KernelException​(java.lang.String message)
    Constructs a new instance with the specified detail message.
    KernelException​(java.lang.String message, java.lang.Throwable cause)
    Constructs a new instance with the specified detail message and cause.
    KernelException​(java.lang.Throwable cause)
    Constructs a new instance with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of 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

    • KernelException

      public KernelException()
      Constructs a new instance with no detail message.
    • KernelException

      public KernelException​(java.lang.String message)
      Constructs a new instance with the specified detail message.
      Parameters:
      message - The detail message.
    • KernelException

      public KernelException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new instance with the specified detail message and cause.
      Parameters:
      message - The detail message.
      cause - The exception's cause.
    • KernelException

      public KernelException​(java.lang.Throwable cause)
      Constructs a new instance with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      Parameters:
      cause - The exception's cause.