org.jdesktop.binding.swingx
Class BindException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jdesktop.binding.swingx.BindException
All Implemented Interfaces:
java.io.Serializable

public class BindException
extends java.lang.Exception

Thrown when a binding could not be established between a user-interface component and a data model.

Version:
1.0
Author:
Amy Fowler
See Also:
Serialized Form

Constructor Summary
BindException(java.lang.Object dataModel)
          Instantiates a bind exception.
BindException(java.lang.Object dataModel, java.lang.String fieldName)
          Instantiates a bind exception.
BindException(java.lang.Object dataModel, java.lang.String fieldName, java.lang.Throwable cause)
          Instantiates a bind exception.
BindException(java.lang.Object dataModel, java.lang.Throwable cause)
          Instantiates a bind exception.
BindException(java.lang.String message)
          Instantiates bind exception.
BindException(java.lang.String message, java.lang.Throwable cause)
          Instantiates bind exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindException

public BindException(java.lang.Object dataModel)
Instantiates a bind exception.

Parameters:
dataModel - data model object which could not be bound

BindException

public BindException(java.lang.Object dataModel,
                     java.lang.Throwable cause)
Instantiates a bind exception.

Parameters:
dataModel - data model object which could not be bound
cause - the specific throwable which caused the bind failure

BindException

public BindException(java.lang.Object dataModel,
                     java.lang.String fieldName)
Instantiates a bind exception.

Parameters:
dataModel - data model object which could not be bound
fieldName - string containing the name of the field or element within the data model

BindException

public BindException(java.lang.Object dataModel,
                     java.lang.String fieldName,
                     java.lang.Throwable cause)
Instantiates a bind exception.

Parameters:
dataModel - data model object which could not be bound
fieldName - string containing the name of the field or element within the data model
cause - the specific throwable which caused the bind failure

BindException

public BindException(java.lang.String message)
Instantiates bind exception.

Parameters:
message - String containing description of why exception occurred

BindException

public BindException(java.lang.String message,
                     java.lang.Throwable cause)
Instantiates bind exception.

Parameters:
message - String containing description of why exception occurred
cause - the specific throwable which caused bind failure


Copyright © 2005 Sun Microsystems All Rights Reserved.