|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| JPConfigException.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | package com.sourceforge.jpatterns.core.configuration.exceptions; | |
| 2 | ||
| 3 | import com.sourceforge.jpatterns.core.JPException; | |
| 4 | ||
| 5 | /** | |
| 6 | * This exception signs that JPatterns configuration is formed incorrectly and it doesn't matter which type caused this: consumer & | |
| 7 | * framework. Please be noticed there are two more exceptions which are the childs of this exception: | |
| 8 | * com.sourceforge.jpatterns.core.configuration.exceptions.JPConsumerConfigException and | |
| 9 | * com.sourceforge.jpatterns.core.configuration.exceptions.JPFrameworkConfigException | |
| 10 | * | |
| 11 | * $Author:: zmicer $<br/> | |
| 12 | * $Rev:: 67 $<br/> | |
| 13 | * $Date:: 2007-08-28 21:37:07 #$<br/> | |
| 14 | * | |
| 15 | * note [zmicer]: seems to be it is deprecated, think if we should use it. | |
| 16 | */ | |
| 17 | public class JPConfigException extends JPException | |
| 18 | { | |
| 19 | /** | |
| 20 | * The default public constructor | |
| 21 | */ | |
| 22 | 3 | public JPConfigException() |
| 23 | { | |
| 24 | 3 | super(); |
| 25 | } | |
| 26 | ||
| 27 | /** | |
| 28 | * One of the public constructor | |
| 29 | * | |
| 30 | * @param message the message param | |
| 31 | */ | |
| 32 | 55 | public JPConfigException(String message) |
| 33 | { | |
| 34 | 55 | super(message); |
| 35 | } | |
| 36 | ||
| 37 | /** | |
| 38 | * One of the public constructors | |
| 39 | * | |
| 40 | * @param message message param | |
| 41 | * @param cause param | |
| 42 | */ | |
| 43 | 3 | public JPConfigException(String message, Throwable cause) |
| 44 | { | |
| 45 | 3 | super(message, cause); |
| 46 | } | |
| 47 | ||
| 48 | /** | |
| 49 | * One of the forms of the public construtor | |
| 50 | * | |
| 51 | * @param cause the throwable param | |
| 52 | */ | |
| 53 | 3 | public JPConfigException(Throwable cause) |
| 54 | { | |
| 55 | 3 | super(cause); |
| 56 | } | |
| 57 | } |
|
||||||||||