class TaskException extends BackupException {

    static TaskException stateCompromised() {
        return new TaskException(/* stateCompromised */ true, DEFAULT_STATUS);
    }

    private  TaskException(Exception cause, boolean stateCompromised, int status);
    private  TaskException(boolean stateCompromised, int status);

}