|
|||||||||||||||||||
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 | |||||||||||||||
ValidateException.java | - | 100% | 100% | 100% |
|
1 |
/*
|
|
2 |
* Copyright (C) The Spice Group. All rights reserved.
|
|
3 |
*
|
|
4 |
* This software is published under the terms of the Spice
|
|
5 |
* Software License version 1.1, a copy of which has been included
|
|
6 |
* with this distribution in the LICENSE.txt file.
|
|
7 |
*/
|
|
8 |
package org.codehaus.spice.configkit;
|
|
9 |
|
|
10 |
/**
|
|
11 |
* Exception thrown when there is an error validating configuration.
|
|
12 |
*
|
|
13 |
* @author Peter Donald
|
|
14 |
* @version $Revision: 1.1 $ $Date: 2003/12/03 03:19:28 $
|
|
15 |
*/
|
|
16 |
public class ValidateException |
|
17 |
extends Exception
|
|
18 |
{ |
|
19 |
/**
|
|
20 |
* Create an exception with specified message.
|
|
21 |
*
|
|
22 |
* @param message the message.
|
|
23 |
*/
|
|
24 | 72 |
public ValidateException( final String message )
|
25 |
{ |
|
26 | 72 |
super( message );
|
27 |
} |
|
28 |
|
|
29 |
/**
|
|
30 |
* Create an exception with specified message and cause.
|
|
31 |
*
|
|
32 |
* @param message the message
|
|
33 |
* @param cause the cause
|
|
34 |
*/
|
|
35 | 90 |
public ValidateException( final String message, final Throwable cause )
|
36 |
{ |
|
37 | 90 |
super( message, cause );
|
38 |
} |
|
39 |
} |
|
40 |
|
|