# com.bea.ide.ui.propertyeditor
PropertyError Class

public class PropertyError
extends `Object`

Contains a property validation error or warning message. Setting the warning flag will allow the user to choose whether to continue with the set of the value. If this represents an error, then the edited value will be rejected.

Related Topics

``IProperty``

Hierarchy
  `Object`
  `PropertyError`

## Constructor Summary

PropertyError(`String` msg, boolean isWarning) Creates a PropertyError with the given message and a flag indicating whether this is an error or warning.

## Method Summary

`public `String`` | `getMessage`() Returns message string.
`public boolean` | `isWarning`() Indicates whether this object represents an error or warning.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Detail

### PropertyError

    public PropertyError(String msg,
                         boolean isWarning)

  Creates a PropertyError with the given message and a flag indicating whether this is an error or warning.

## Method Detail

### getMessage() Method

    public String getMessage()

Returns message string.

#### Returns

String message.

### isWarning() Method

    public boolean isWarning()

Indicates whether this object represents an error or warning.

#### Returns

true if a warning, false if an error.