| 1 | package com.github.markusbernhardt.proxy.util; |
| 2 | |
| 3 | /***************************************************************************** |
| 4 | * Indicates an exception in the proxy framework. |
| 5 | * |
| 6 | * @author Markus Bernhardt, Copyright 2016 |
| 7 | * @author Bernd Rosstauscher, Copyright 2009 |
| 8 | ****************************************************************************/ |
| 9 | |
| 10 | public class ProxyException extends Exception { |
| 11 | |
| 12 | private static final long serialVersionUID = 1L; |
| 13 | |
| 14 | /************************************************************************* |
| 15 | * Constructor |
| 16 | ************************************************************************/ |
| 17 | |
| 18 | public ProxyException() { |
| 19 | super(); |
| 20 | } |
| 21 | |
| 22 | /************************************************************************* |
| 23 | * Constructor |
| 24 | * |
| 25 | * @param message |
| 26 | * the error message |
| 27 | * @param cause |
| 28 | * the causing exception for chaining exceptions. |
| 29 | ************************************************************************/ |
| 30 | |
| 31 | public ProxyException(String message, Throwable cause) { |
| 32 | super(message, cause); |
| 33 | } |
| 34 | |
| 35 | /************************************************************************* |
| 36 | * Constructor |
| 37 | * |
| 38 | * @param message |
| 39 | * the error message |
| 40 | ************************************************************************/ |
| 41 | |
| 42 | public ProxyException(String message) { |
| 43 | super(message); |
| 44 | } |
| 45 | |
| 46 | /************************************************************************* |
| 47 | * Constructor |
| 48 | * |
| 49 | * @param cause |
| 50 | * the causing exception for chaining exceptions. |
| 51 | ************************************************************************/ |
| 52 | |
| 53 | public ProxyException(Throwable cause) { |
| 54 | super(cause); |
| 55 | } |
| 56 | |
| 57 | } |