1 package com.sslexplorer.tasks; 2 3 import com.sslexplorer.core.CoreException; 4 5 public class TaskException extends CoreException { 6 7 public final static int INTERNAL_ERROR = 0; 8 public final static String ERROR_CATEGORY = "tasks"; 9 10 public TaskException(int code) { 11 super(code, ERROR_CATEGORY); 12 } 13 14 public TaskException(int code, String bundle, Throwable cause, String arg0, String arg1, String arg2, String arg3) { 15 super(code, ERROR_CATEGORY, bundle, cause, arg0, arg1, arg2, arg3); 16 } 17 18 public TaskException(int code, String bundle, Throwable cause, String arg0) { 19 super(code, ERROR_CATEGORY, bundle, cause, arg0); 20 } 21 22 public TaskException(int code, String bundle, Throwable cause) { 23 super(code, ERROR_CATEGORY, bundle, cause); 24 } 25 26 public TaskException(int code, String arg0) { 27 super(code, ERROR_CATEGORY, arg0); 28 } 29 30 public TaskException(int code, Throwable cause) { 31 super(code, ERROR_CATEGORY, cause); 32 } 33 34 } 35 | Popular Tags |