|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| InvalidValueException.java | - | 50% | 50% | 50% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: InvalidValueException.java,v 1.1 2004/12/15 14:18:10 patforna Exp $
|
|
| 3 |
*
|
|
| 4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
| 5 |
* Berne University of Applied Sciences
|
|
| 6 |
* School of Engineering and Information Technology
|
|
| 7 |
* All rights reserved.
|
|
| 8 |
*/
|
|
| 9 |
package bexee.model;
|
|
| 10 |
|
|
| 11 |
/**
|
|
| 12 |
* This Exception is used to signalize that a Value is invalid.
|
|
| 13 |
*
|
|
| 14 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
|
|
| 15 |
* @author Patric Fornasier
|
|
| 16 |
* @author Pawel Kowalski
|
|
| 17 |
*/
|
|
| 18 |
public class InvalidValueException extends Exception { |
|
| 19 |
|
|
| 20 |
/**
|
|
| 21 |
* Create a new <code>InvalidValueException</code> instance.
|
|
| 22 |
*/
|
|
| 23 | 0 |
public InvalidValueException() {
|
| 24 | 0 |
super();
|
| 25 |
} |
|
| 26 |
|
|
| 27 |
/**
|
|
| 28 |
* Create a new <code>InvalidValueException</code> instance.
|
|
| 29 |
*
|
|
| 30 |
* @param message
|
|
| 31 |
* the Exception message
|
|
| 32 |
*/
|
|
| 33 | 2 |
public InvalidValueException(String message) {
|
| 34 | 2 |
super(message);
|
| 35 |
} |
|
| 36 |
|
|
| 37 |
/**
|
|
| 38 |
* Create a new <code>InvalidValueException</code> instance.
|
|
| 39 |
*
|
|
| 40 |
* @param cause
|
|
| 41 |
* the cause of this Exception
|
|
| 42 |
*/
|
|
| 43 | 0 |
public InvalidValueException(Throwable cause) {
|
| 44 | 0 |
super(cause);
|
| 45 |
} |
|
| 46 |
|
|
| 47 |
/**
|
|
| 48 |
* Create a new <code>InvalidValueException</code> instance.
|
|
| 49 |
*
|
|
| 50 |
* @param message
|
|
| 51 |
* the Exception message
|
|
| 52 |
* @param cause
|
|
| 53 |
* the cause of this Exception
|
|
| 54 |
*/
|
|
| 55 | 264 |
public InvalidValueException(String message, Throwable cause) {
|
| 56 | 264 |
super(message, cause);
|
| 57 |
} |
|
| 58 |
|
|
| 59 |
} |
|
||||||||||