Package de.esoco.coroutine
Class CoroutineException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.util.concurrent.CompletionException
-
- de.esoco.coroutine.CoroutineException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ChannelClosedException,CoroutineScopeException
public class CoroutineException extends java.util.concurrent.CompletionExceptionThe base class of unchecked exceptions that may be thrown byCoroutineexecutions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CoroutineException(java.lang.String messageFormat, java.lang.Object... args)Creates a new instance with a formatted message.CoroutineException(java.lang.String message, java.lang.Throwable cause)Creates a new instance.CoroutineException(java.lang.Throwable cause)Creates a new instance.
-
-
-
Constructor Detail
-
CoroutineException
public CoroutineException(java.lang.Throwable cause)
Creates a new instance.- Parameters:
cause- The causing exception
-
CoroutineException
public CoroutineException(java.lang.String messageFormat, java.lang.Object... args)Creates a new instance with a formatted message.- Parameters:
messageFormat- The error message format stringargs- The format arguments
-
CoroutineException
public CoroutineException(java.lang.String message, java.lang.Throwable cause)Creates a new instance.- Parameters:
message- The error messagecause- The causing exception
-
-