|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdesktop.beansbinding.Binding.SyncFailure
public static final class Binding.SyncFailure
SyncFailure
represents a failure to sync (save
or refresh
) a
Binding
.
Method Summary | |
---|---|
java.lang.RuntimeException |
getConversionException()
Returns the exception that occurred during conversion if this failure represents a conversion failure. |
Binding.SyncFailureType |
getType()
Returns the type of failure. |
Validator.Result |
getValidationResult()
Returns the result that was returned from the Binding's validator if this failure represents a
validation failure. |
java.lang.String |
toString()
Returns a string representation of the SyncFailure . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Binding.SyncFailureType getType()
public java.lang.RuntimeException getConversionException()
UnsupportedOperationException
otherwise.
java.lang.UnsupportedOperationException
- if the type of failure
is not SyncFailureType.CONVERSION_FAILED
public Validator.Result getValidationResult()
Binding's
validator if this failure represents a
validation failure. Throws UnsupportedOperationException
otherwise.
Binding's
validator
java.lang.UnsupportedOperationException
- if the type of failure
is not SyncFailureType.VALIDATION_FAILED
public java.lang.String toString()
SyncFailure
. This
method is intended to be used for debugging purposes only, and
the content and format of the returned string may vary between
implementations. The returned string may be empty but may not
be null
.
toString
in class java.lang.Object
SyncFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |