|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| WsProviderException.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 | /** | |
| 2 | * JTRunner is free software; you can redistribute it and/or modify it under the | |
| 3 | * terms of the GNU General Public License as published by the Free Software | |
| 4 | * Foundation; either version 2, or (at your option) any later version. | |
| 5 | */ | |
| 6 | ||
| 7 | package jtr.ws; | |
| 8 | ||
| 9 | /** | |
| 10 | * This exception is used to report to higher level components exceptions | |
| 11 | * occurred in the webservices layer. Instances of this class will always | |
| 12 | * contain within the source exception generated by the underlying webservices | |
| 13 | * provider. | |
| 14 | * | |
| 15 | * @author Francesco Russo (frusso@dev.java.net) | |
| 16 | * @version 4.0 | |
| 17 | * @since 3.0 | |
| 18 | */ | |
| 19 | public class WsProviderException extends Exception { | |
| 20 | ||
| 21 | /** | |
| 22 | * Serial version UID. | |
| 23 | */ | |
| 24 | private static final long serialVersionUID = -2431439278178659651L; | |
| 25 | ||
| 26 | /** | |
| 27 | * Constructor. | |
| 28 | * @param cause | |
| 29 | */ | |
| 30 | 0 | public WsProviderException(Throwable cause) { |
| 31 | 0 | super(cause); |
| 32 | } | |
| 33 | ||
| 34 | /** | |
| 35 | * Costructor. | |
| 36 | * @param message | |
| 37 | * @param cause | |
| 38 | */ | |
| 39 | 0 | public WsProviderException(String message, Throwable cause) { |
| 40 | 0 | super(message, cause); |
| 41 | } | |
| 42 | ||
| 43 | /** | |
| 44 | * Constructor. | |
| 45 | * @param msg | |
| 46 | */ | |
| 47 | 0 | public WsProviderException(String msg) { |
| 48 | 0 | super(msg); |
| 49 | } | |
| 50 | } |
|
||||||||||