Package studio.mevera.imperat.exception
Class ProcessorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
studio.mevera.imperat.exception.ImperatException
studio.mevera.imperat.exception.ProcessorException
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProcessorException(ProcessorException.Type type, @Nullable Command<?> owningCommand, Throwable cause, Context<?> ctx) -
Method Summary
Methods inherited from class studio.mevera.imperat.exception.ImperatException
getCtxMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcessorException
public ProcessorException(ProcessorException.Type type, @Nullable @Nullable Command<?> owningCommand, Throwable cause, Context<?> ctx)
-
-
Method Details
-
isGlobal
public boolean isGlobal() -
getOwningCommand
- Returns:
- The command owning the processor that caused this ProcessorException to be thrown. if it's a global processor, it will return null.
-
getProcessorType
-