1 19 20 package com.sslexplorer.security; 21 22 import com.sslexplorer.core.CoreException; 23 24 27 public class SecurityErrorException extends CoreException { 28 29 32 public final static String ERROR_CATEGORY = "security"; 33 34 35 38 public final static int INTERNAL_ERROR = 0; 39 40 44 public final static int ERR_INVALID_TICKET = 1; 45 46 51 public SecurityErrorException(int code) { 52 super(code, ERROR_CATEGORY); 53 } 54 55 66 public SecurityErrorException(int code, String bundle, Throwable cause, String arg0, String arg1, String arg2, String arg3) { 67 super(code, ERROR_CATEGORY, bundle, cause, arg0, arg1, arg2, arg3); 68 } 69 70 78 public SecurityErrorException(int code, String bundle, Throwable cause, String arg0) { 79 super(code, ERROR_CATEGORY, bundle, cause, arg0); 80 } 81 82 88 public SecurityErrorException(int code, String arg0) { 89 super(code, ERROR_CATEGORY, arg0); 90 } 91 92 99 public SecurityErrorException(int code, String arg0, String arg1) { 100 super(code, ERROR_CATEGORY, DEFAULT_BUNDLE, null, arg0, arg1, null, null); 101 } 102 103 109 public SecurityErrorException(int code, Throwable cause) { 110 super(code, ERROR_CATEGORY, DEFAULT_BUNDLE, cause, cause.getMessage()); 111 } 112 113 120 public SecurityErrorException(int code, Throwable cause, String arg0) { 121 super(code, ERROR_CATEGORY, DEFAULT_BUNDLE, cause, arg0); 122 } 123 124 133 public SecurityErrorException(int code, String arg0, String arg1, String arg2, Throwable cause) { 134 super(code, ERROR_CATEGORY, DEFAULT_BUNDLE, cause, arg0, arg1, arg2, null); 135 } 136 } 137 | Popular Tags |