1 package com.sslexplorer.policyframework; 2 3 import com.sslexplorer.core.CoreException; 4 5 11 public class PolicyException extends CoreException { 12 13 16 public final static int INTERNAL_ERROR = 1; 17 18 21 public final static String ERROR_CATEGORY = "policyframework"; 22 23 28 public PolicyException(int code) { 29 super(code, ERROR_CATEGORY); 30 } 31 32 39 public PolicyException(int code, String message, Throwable cause) { 40 super(code, ERROR_CATEGORY, message, cause); 41 } 42 43 49 public PolicyException(int code, String message) { 50 super(code, ERROR_CATEGORY, message); 51 } 52 53 59 public PolicyException(int code, Throwable cause) { 60 super(code, ERROR_CATEGORY, cause); 61 } 62 } 63 | Popular Tags |