Class EventProcessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.inugami.api.exceptions.CheckedException
-
- io.inugami.api.exceptions.TechnicalException
-
- io.inugami.api.exceptions.services.EventProcessException
-
- All Implemented Interfaces:
ExceptionWithErrorCode,Serializable
public class EventProcessException extends TechnicalException
ProcessorException- Since:
- 6 oct. 2016
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intERR_CODE
-
Constructor Summary
Constructors Modifier Constructor Description EventProcessException()protectedEventProcessException(GenericEvent event, TargetConfig target, int code, String message, Throwable cause)EventProcessException(GenericEvent event, TargetConfig target, String message, Throwable cause)EventProcessException(String message)EventProcessException(String message, Object... values)EventProcessException(String message, Throwable cause)EventProcessException(Throwable cause)EventProcessException(Throwable cause, String message, Object... values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<GenericEvent>getEvent()Optional<TargetConfig>getTarget()-
Methods inherited from class io.inugami.api.exceptions.CheckedException
getCode, getErrorCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
ERR_CODE
public static final int ERR_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EventProcessException
protected EventProcessException(GenericEvent event, TargetConfig target, int code, String message, Throwable cause)
-
EventProcessException
public EventProcessException()
-
EventProcessException
public EventProcessException(GenericEvent event, TargetConfig target, String message, Throwable cause)
-
EventProcessException
public EventProcessException(Throwable cause, String message, Object... values)
-
EventProcessException
public EventProcessException(String message)
-
EventProcessException
public EventProcessException(Throwable cause)
-
-
Method Detail
-
getEvent
public Optional<GenericEvent> getEvent()
-
getTarget
public Optional<TargetConfig> getTarget()
-
-