1 19 20 package com.sslexplorer.networkplaces; 21 22 import com.sslexplorer.core.CoreException; 23 24 25 31 public class NetworkPlacesException extends CoreException { 32 33 34 38 public final static int ERR_VFS_CANNOT_PASTE_TO_SOURCE = 1; 39 40 43 public final static String ERROR_CATEGORY = "networkPlaces"; 44 45 50 public NetworkPlacesException(int code) { 51 super(code, ERROR_CATEGORY, NetworkPlacePlugin.MESSAGE_RESOURCES_KEY, (Throwable )null); 52 } 53 54 64 public NetworkPlacesException(int code, Throwable cause, String arg0, String arg1, String arg2, String arg3) { 65 super(code, ERROR_CATEGORY, NetworkPlacePlugin.MESSAGE_RESOURCES_KEY, cause, arg0, arg1, arg2, arg3); 66 } 67 68 75 public NetworkPlacesException(int code,Throwable cause, String arg0) { 76 super(code, ERROR_CATEGORY, NetworkPlacePlugin.MESSAGE_RESOURCES_KEY, cause, arg0); 77 } 78 79 86 public NetworkPlacesException(int code, Throwable cause) { 87 super(code, ERROR_CATEGORY, NetworkPlacePlugin.MESSAGE_RESOURCES_KEY, cause); 88 } 89 90 96 public NetworkPlacesException(int code, String arg0) { 97 super(code, ERROR_CATEGORY, arg0); 98 } 99 } 100 | Popular Tags |