Package io.helidon.common.http
Class AlreadyCompletedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.helidon.common.http.AlreadyCompletedException
-
- All Implemented Interfaces:
Serializable
public class AlreadyCompletedException extends IllegalStateException
Signals that a mutation method has been invoked on a resource that is already completed. It is no longer possible to mute state of these objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlreadyCompletedException(String s)
Constructs anAlreadyCompletedException
with the specified detail message.AlreadyCompletedException(String message, Throwable cause)
Constructs anAlreadyCompletedException
with the specified detail message and cause.AlreadyCompletedException(Throwable cause)
Constructs anAlreadyCompletedException
with the specified 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
-
AlreadyCompletedException
public AlreadyCompletedException(String s)
Constructs anAlreadyCompletedException
with the specified detail message.- Parameters:
s
- the String that contains a detailed message.
-
AlreadyCompletedException
public AlreadyCompletedException(String message, Throwable cause)
Constructs anAlreadyCompletedException
with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
AlreadyCompletedException
public AlreadyCompletedException(Throwable cause)
Constructs anAlreadyCompletedException
with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-