Package com.github.ddth.queue.utils
Class QueueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.ddth.queue.utils.QueueException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueueException.CannotDeserializeQueueMessage,QueueException.CannotSerializeQueueMessage,QueueException.EphemeralIsFull,QueueException.OperationNotSupported,QueueException.QueueIsFull
public class QueueException extends RuntimeException
Thrown to indicate that there has been an error with queue oeration.- Since:
- 0.1.0
- Author:
- Thanh Ba Nguyen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueueException.CannotDeserializeQueueMessageThrown to indicate that the queue message can not be deserialized.static classQueueException.CannotSerializeQueueMessageThrown to indicate that the queue message can not be serialized.static classQueueException.EphemeralIsFullThrown to indicate that the ephemeral storage is full.static classQueueException.OperationNotSupportedThrown to indicate that the queue implementation does not support the invoked operation.static classQueueException.QueueIsFullThrown to indicate that the queue storage is full.
-
Constructor Summary
Constructors Constructor Description QueueException()QueueException(String message)QueueException(String message, Throwable cause)QueueException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)QueueException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-