diff options
Diffstat (limited to 'src/main/java/com/btr/proxy/util/ProxyException.java')
-rw-r--r-- | src/main/java/com/btr/proxy/util/ProxyException.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/main/java/com/btr/proxy/util/ProxyException.java b/src/main/java/com/btr/proxy/util/ProxyException.java new file mode 100644 index 0000000..a3c1424 --- /dev/null +++ b/src/main/java/com/btr/proxy/util/ProxyException.java @@ -0,0 +1,50 @@ +package com.btr.proxy.util; + +/***************************************************************************** + * Indicates an exception in the proxy framework. + * + * @author Bernd Rosstauscher (proxyvole@rosstauscher.de) Copyright 2009 + ****************************************************************************/ + +public class ProxyException extends Exception { + + private static final long serialVersionUID = 1L; + + /************************************************************************* + * Constructor + ************************************************************************/ + + public ProxyException() { + super(); + } + + /************************************************************************* + * Constructor + * @param message the error message + * @param cause the causing exception for chaining exceptions. + ************************************************************************/ + + public ProxyException(String message, Throwable cause) { + super(message, cause); + } + + /************************************************************************* + * Constructor + * @param message the error message + ************************************************************************/ + + public ProxyException(String message) { + super(message); + } + + /************************************************************************* + * Constructor + * @param cause the causing exception for chaining exceptions. + ************************************************************************/ + + public ProxyException(Throwable cause) { + super(cause); + } + + +} |