1 19 20 package com.sslexplorer.security; 21 22 import com.sslexplorer.core.CoreException; 23 24 28 public class UserDatabaseException extends CoreException { 29 32 public static final int INTERNAL_ERROR = 0; 33 34 37 public final static String ERROR_CATEGORY = "userdatabase"; 38 39 42 public static final String DEFAULT_BUNDLE = "errors"; 43 44 48 public UserDatabaseException(String msg) { 49 this(msg, null); 50 } 51 52 57 public UserDatabaseException(String msg, Throwable cause) { 58 super(INTERNAL_ERROR, ERROR_CATEGORY, DEFAULT_BUNDLE, cause, msg); 59 } 60 61 66 public UserDatabaseException(int errorCode, String bundle) { 67 super(errorCode, ERROR_CATEGORY, bundle, null); 68 } 69 } | Popular Tags |