Package cloud.commandframework.services
Class PipelineException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- cloud.commandframework.services.PipelineException
-
- All Implemented Interfaces:
java.io.Serializable
public final class PipelineException extends java.lang.RuntimeException
Wrapper for exceptions thrown during pipeline execution.- See Also:
Use to get the wrapped exception
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PipelineException(@NonNull java.lang.Exception cause)
Construct a new pipeline exceptionPipelineException(@NonNull java.lang.String message, @NonNull java.lang.Exception cause)
Construct a new pipeline exception
-
-
-
Constructor Detail
-
PipelineException
public PipelineException(@NonNull java.lang.Exception cause)
Construct a new pipeline exception- Parameters:
cause
- Cause of the exception
-
PipelineException
public PipelineException(@NonNull java.lang.String message, @NonNull java.lang.Exception cause)
Construct a new pipeline exception- Parameters:
message
- Message explaining the exceptioncause
- Cause of the exception
-
-