TaskHandlerException

public class TaskHandlerException extends Exception

Thrown when there were problems while handling a task.

Constructors

TaskHandlerException

public TaskHandlerException(TaskFailureCause failureCause, String messageKey)

Exception constructor.

Parameters:
  • failureCause – the failure cause
  • messageKey – the message key

TaskHandlerException

public TaskHandlerException(TaskFailureCause failureCause, String messageKey, String... args)

Exception constructor.

Parameters:
  • failureCause – the failure cause
  • messageKey – the message key
  • args – the arguments

TaskHandlerException

public TaskHandlerException(TaskFailureCause failureCause, String messageKey, Throwable cause, String... args)

Exception constructor.

Parameters:
  • failureCause – the failure cause
  • messageKey – the message key
  • cause – the cause of the failure
  • args – the arguments

Methods

getArgs

public List<String> getArgs()

getFailureCause

public TaskFailureCause getFailureCause()

getMessage

public String getMessage()