);
//
// The Exception message.
this.init(
ReadOnlyProperty.wrap(
new StringProperty(
this,
LoggedException.MESSAGE_PROPERTY_URI
){
@Override
protected String getString()
{
return LoggedExceptionImpl.this.message();
}
@Override
protected void setString(final String value)
{
throw new IllegalArgumentException(
"Attempt to set a readonly property [" + this + "] to [" + value + "]"
);
}
}
)
);
//
// The Exception classname.
this.init(
ReadOnlyProperty.wrap(
new StringProperty(
this,
LoggedException.CLASSNAME_PROPERTY_URI
){
@Override
protected String getString()