KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > internal > databinding > provisional > BindingException


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jface.internal.databinding.provisional;
12
13 /**
14  * An unchecked exception indicating a binding problem.
15  *
16  * <p>
17  * <strong>EXPERIMENTAL</strong>. This class or interface has been added as
18  * part of a work in progress. There is no guarantee that this API will remain
19  * unchanged during the 3.2 release cycle. Please do not use this API without
20  * consulting with the Platform/UI team.
21  * </p>
22  *
23  * TODO API review issue: Use CoreException instead?
24  *
25  * @since 1.0
26  */

27 public class BindingException extends RuntimeException JavaDoc {
28
29     /*
30      * Needed because all Throwables are Serializable.
31      */

32     private static final long serialVersionUID = -4092828452936724217L;
33
34     /**
35      * Creates a new BindingException with the given message.
36      * @param message
37      */

38     public BindingException(String JavaDoc message) {
39         super(message);
40     }
41
42     /**
43      * Creates a new BindingException with the given message and cause.
44      * @param message
45      * @param cause
46      */

47     public BindingException(String JavaDoc message, Throwable JavaDoc cause) {
48         super(message, cause);
49     }
50 }
51
Popular Tags