com.jgoodies.binding.beans

Class PropertyException

Known Direct Subclasses:
PropertyAccessException, PropertyNotBindableException, PropertyNotFoundException, PropertyUnboundException

public abstract class PropertyException
extends RuntimeException

A runtime exception that is the abstract superclass for all exceptions around Java Bean properties in the JGoodies Data Binding framework.
Version:
$Revision: 1.4 $
Author:
Karsten Lentzsch
See Also:
PropertyAdapter

Constructor Summary

PropertyException(String message)
Constructs a new exception instance with the specified detail message.
PropertyException(String message, Throwable cause)
Constructs a new exception instance with the specified detail message and cause.

Constructor Details

PropertyException

public PropertyException(String message)
Constructs a new exception instance with the specified detail message. The cause is not initialized.
Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage()method.

PropertyException

public PropertyException(String message,
                         Throwable cause)
Constructs a new exception instance with the specified detail message and cause.
Parameters:
message - the detail message (which is saved for later retrieval by the getMessage()method).
cause - the cause (which is saved for later retrieval by the getCause()method). (Anull value is permitted, and indicates that the cause is nonexistent or unknown.)

Copyright © 2002-2007 JGoodies Karsten Lentzsch. All Rights Reserved.