Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/synaptics/elvis/ElvisException.java


1   /*
2    * The contents of this file are subject to the Mozilla Public License Version 
3    * 1.1 (the "License"); you may not use this file except in compliance with the 
4    * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
5    *
6    * Software distributed under the License is distributed on an "AS IS" basis, 
7    * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
8    * the specific language governing rights and limitations under the License.
9    *
10   * The Original Code is com.synaptics.elvis code.
11   *
12   * The Initial Developers of the Original Code are Synaptics, Inc. and Christopher Heiny.
13   * Portions created by Synaptics, Inc. and Christopher Heiny are
14   * Copyright (C) 2002 Synaptics, Inc. and Christopher Heiny. All Rights Reserved.
15   *
16   * Contributor(s):
17   *    Christopher Heiny <cheiny@synaptics.com>
18   */
19  
20  package com.synaptics.elvis;
21  
22  /** Used by the various components of Elvis when an Exception is needed.
23   *
24   * @author  cheiny
25   * @version $Id: ElvisException.java,v 1.1 2002/05/09 07:17:17 clheiny Exp $
26   */
27  public class ElvisException extends java.lang.RuntimeException {
28  
29      /**
30       * Creates new <code>ElvisException</code> without detail message.
31       */
32      public ElvisException() {
33      }
34  
35  
36      /**
37       * Constructs an <code>ElvisException</code> with the specified detail message.
38       * @param msg the detail message.
39       */
40      public ElvisException(String msg) {
41          super(msg);
42      }
43  
44  
45      /**
46       * Constructs an <code>ElvisException</code> with the specified detail message.
47       * @param msg the detail message.
48       */
49      public ElvisException(String msg, Throwable cause) {
50          super ( msg, cause );
51      }
52  }