Package org.opentcs.access
Class KernelRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentcs.access.KernelRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CredentialsException,ObjectExistsException,ObjectUnknownException,ServiceUnavailableException,TransportOrderAssignmentException
A runtime exception thrown by the openTCS kernel.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance with no detail message.KernelRuntimeException(String message) Constructs a new instance with the specified detail message.KernelRuntimeException(String message, Throwable cause) Constructs a new instance with the specified detail message and cause.KernelRuntimeException(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KernelRuntimeException
public KernelRuntimeException()Constructs a new instance with no detail message. -
KernelRuntimeException
Constructs a new instance with the specified detail message.- Parameters:
message- The detail message.
-
KernelRuntimeException
Constructs a new instance with the specified detail message and cause.- Parameters:
message- The detail message.cause- The exception's cause.
-
KernelRuntimeException
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.
-