Package org.opentcs.access
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 ofcause
). -
Method Summary
-
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 ofcause
).- Parameters:
cause
- The exception's cause.
-