KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > vladium > emma > EMMARuntimeException


1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
2  *
3  * This program and the accompanying materials are made available under
4  * the terms of the Common Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/cpl-v10.html
6  *
7  * $Id: EMMARuntimeException.java,v 1.1.1.1 2004/05/09 16:57:29 vlad_r Exp $
8  */

9 package com.vladium.emma;
10
11 import com.vladium.util.exception.AbstractRuntimeException;
12
13 // ----------------------------------------------------------------------------
14
/**
15  * @author Vlad Roubtsov, (C) 2003
16  */

17 public
18 class EMMARuntimeException extends AbstractRuntimeException
19 {
20     // public: ................................................................
21

22     /**
23      * Constructs an exception with null message and null cause.
24      */

25     public EMMARuntimeException ()
26     {
27     }
28     
29     /**
30      * Constructs an exception with given error message/code and null cause.
31      *
32      * @param message the detail message [can be null]
33      */

34     public EMMARuntimeException (final String JavaDoc message)
35     {
36         super (message);
37     }
38     
39     /**
40      * Constructs an exception with given error message/code and null cause.
41      *
42      * @param message the detail message [can be null]
43      * @param arguments message format parameters [can be null or empty]
44      *
45      * @see java.text.MessageFormat
46      */

47     public EMMARuntimeException (final String JavaDoc message, final Object JavaDoc [] arguments)
48     {
49         super (message, arguments);
50     }
51     
52     /**
53      * Constructs an exception with null error message/code and given cause.
54      *
55      * @param cause the cause [nested exception] [can be null]
56      */

57     public EMMARuntimeException (final Throwable JavaDoc cause)
58     {
59         super (cause);
60     }
61     
62     /**
63      * Constructs an exception with given error message/code and given cause.
64      *
65      * @param message the detail message [can be null]
66      * @param cause the cause [nested exception] [can be null]
67      */

68     public EMMARuntimeException (final String JavaDoc message, final Throwable JavaDoc cause)
69     {
70         super (message, cause);
71     }
72     
73     /**
74      * Constructs an exception with given error message/code and given cause.
75      *
76      * @param message the detail message [can be null]
77      * @param arguments message format parameters [can be null or empty]
78      * @param cause the cause [nested exception] [can be null]
79      *
80      * @see java.text.MessageFormat
81      */

82     public EMMARuntimeException (final String JavaDoc message, final Object JavaDoc [] arguments, final Throwable JavaDoc cause)
83     {
84         super (message, arguments, cause);
85     }
86     
87     // protected: .............................................................
88

89     // package: ...............................................................
90

91     // private: ...............................................................
92

93 } // end of class
94
// ----------------------------------------------------------------------------
95
Popular Tags