Package org.trellisldp.api
Class TrellisRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.trellisldp.api.TrellisRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StorageConflictException
public class TrellisRuntimeException extends RuntimeException
Exception marker for all Trellis unchecked exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrellisRuntimeException()
Create a new TrellisRuntimeException.TrellisRuntimeException(String message)
Create a new TrellisRuntimeException with a custom message.TrellisRuntimeException(String message, Throwable cause)
Create a new TrellisRuntimeException with a custom message and known cause.TrellisRuntimeException(Throwable cause)
Create a new TrellisRuntimeException with a known cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TrellisRuntimeException
public TrellisRuntimeException()
Create a new TrellisRuntimeException.
-
TrellisRuntimeException
public TrellisRuntimeException(String message)
Create a new TrellisRuntimeException with a custom message.- Parameters:
message
- the message
-
TrellisRuntimeException
public TrellisRuntimeException(String message, Throwable cause)
Create a new TrellisRuntimeException with a custom message and known cause.- Parameters:
message
- the messagecause
- the cause
-
TrellisRuntimeException
public TrellisRuntimeException(Throwable cause)
Create a new TrellisRuntimeException with a known cause.- Parameters:
cause
- the cause
-
-