net.sf.jfilesync.engine
Class TErrorHandling
java.lang.Object
net.sf.jfilesync.engine.TErrorHandling
public class TErrorHandling
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_ERROR
public static final int NO_ERROR
- See Also:
- Constant Field Values
ERROR_CONNECTION_FAILURE
public static final int ERROR_CONNECTION_FAILURE
- See Also:
- Constant Field Values
ERROR_CONNECTION_NO_DATA
public static final int ERROR_CONNECTION_NO_DATA
- See Also:
- Constant Field Values
ERROR_CONNECTION_AUTHENTICATION
public static final int ERROR_CONNECTION_AUTHENTICATION
- See Also:
- Constant Field Values
ERROR_CONNECTION_UNKNOWN_HOST
public static final int ERROR_CONNECTION_UNKNOWN_HOST
- See Also:
- Constant Field Values
ERROR_CONNECTION_TIMEDOUT
public static final int ERROR_CONNECTION_TIMEDOUT
- See Also:
- Constant Field Values
ERROR_CONNECTION_NOT_ACTIVE
public static final int ERROR_CONNECTION_NOT_ACTIVE
- See Also:
- Constant Field Values
ERROR_CONNECTION_LOST
public static final int ERROR_CONNECTION_LOST
- See Also:
- Constant Field Values
ERROR_IO_GENERAL
public static final int ERROR_IO_GENERAL
- See Also:
- Constant Field Values
ERROR_IO_LS
public static final int ERROR_IO_LS
- See Also:
- Constant Field Values
ERROR_IO_PERMISSIONS
public static final int ERROR_IO_PERMISSIONS
- See Also:
- Constant Field Values
ERROR_IO_PATH_UNKNOWN
public static final int ERROR_IO_PATH_UNKNOWN
- See Also:
- Constant Field Values
ERROR_SSH_CONNECTION_HOSTKEY_VERIFICATION
public static final int ERROR_SSH_CONNECTION_HOSTKEY_VERIFICATION
- See Also:
- Constant Field Values
ERROR_PLUGIN_NOT_FOUND
public static final int ERROR_PLUGIN_NOT_FOUND
- See Also:
- Constant Field Values
ERROR_UNSUPPORTED_PROTOCOL
public static final int ERROR_UNSUPPORTED_PROTOCOL
- See Also:
- Constant Field Values
ERROR_GET_SYNC_TREE
public static final int ERROR_GET_SYNC_TREE
- See Also:
- Constant Field Values
ERROR_GET_SYNC_DIFF
public static final int ERROR_GET_SYNC_DIFF
- See Also:
- Constant Field Values
ERROR_SYNC_PERFORMER
public static final int ERROR_SYNC_PERFORMER
- See Also:
- Constant Field Values
ERROR_UNKNOWN_WORKER_ERROR
public static final int ERROR_UNKNOWN_WORKER_ERROR
- See Also:
- Constant Field Values
ERROR_THREAD_WAIT
public static final int ERROR_THREAD_WAIT
- See Also:
- Constant Field Values
ERROR_ADVICE_NON
public static final int ERROR_ADVICE_NON
- See Also:
- Constant Field Values
ERROR_ADVICE_RETRY
public static final int ERROR_ADVICE_RETRY
- See Also:
- Constant Field Values
ERROR_ADVICE_ABORT
public static final int ERROR_ADVICE_ABORT
- See Also:
- Constant Field Values
ERROR_ADVICE_ABORT_FUNCTION
public static final int ERROR_ADVICE_ABORT_FUNCTION
- See Also:
- Constant Field Values
ERROR_ADVICE_ABORT_PROGRAM
public static final int ERROR_ADVICE_ABORT_PROGRAM
- See Also:
- Constant Field Values
LEVEL_INFO
private static final int LEVEL_INFO
- See Also:
- Constant Field Values
LEVEL_WARN
private static final int LEVEL_WARN
- See Also:
- Constant Field Values
LEVEL_ERROR
private static final int LEVEL_ERROR
- See Also:
- Constant Field Values
LEVEL_PANIC
private static final int LEVEL_PANIC
- See Also:
- Constant Field Values
errorLevel
private static int errorLevel
errorMsg
private static java.lang.String errorMsg
errorHeader
private static java.lang.String errorHeader
errorDialogType
private static int errorDialogType
errorPossibilities
private static java.lang.Object[] errorPossibilities
extraErrorMsg
private static java.lang.String extraErrorMsg
TErrorHandling
public TErrorHandling()
setupError
protected static final void setupError(int errorNumber)
error
private static void error(int level,
java.lang.String msg)
errorWithLangKey
private static void errorWithLangKey(int level,
java.lang.String key)
reportError
public static final int reportError(int errorNumber,
java.lang.String additionalErrorMsg)
reportErrorSubsequently
public static final boolean reportErrorSubsequently(int errorNumber,
java.lang.String additionalErrorMsg)
reportError
public static final int reportError(int errorNumber)
reportErrorSubsequently
public static boolean reportErrorSubsequently(int errornum)
createImageIcon
protected static javax.swing.ImageIcon createImageIcon(java.lang.String path)