KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > tasks > TaskException


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 JavaDoc ERROR_CATEGORY = "tasks";
9
10     public TaskException(int code) {
11         super(code, ERROR_CATEGORY);
12     }
13
14     public TaskException(int code, String JavaDoc bundle, Throwable JavaDoc cause, String JavaDoc arg0, String JavaDoc arg1, String JavaDoc arg2, String JavaDoc arg3) {
15         super(code, ERROR_CATEGORY, bundle, cause, arg0, arg1, arg2, arg3);
16     }
17
18     public TaskException(int code, String JavaDoc bundle, Throwable JavaDoc cause, String JavaDoc arg0) {
19         super(code, ERROR_CATEGORY, bundle, cause, arg0);
20     }
21
22     public TaskException(int code, String JavaDoc bundle, Throwable JavaDoc cause) {
23         super(code, ERROR_CATEGORY, bundle, cause);
24     }
25
26     public TaskException(int code, String JavaDoc arg0) {
27         super(code, ERROR_CATEGORY, arg0);
28     }
29
30     public TaskException(int code, Throwable JavaDoc cause) {
31         super(code, ERROR_CATEGORY, cause);
32     }
33
34 }
35
Popular Tags