public class PropertyValueException extends SemanticException
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
DESIGN_EXCEPTION_CHOICE_NOT_ALLOWED
Error code constant indicating the choice value is not allowed for a
choice type property.
|
static java.lang.String |
DESIGN_EXCEPTION_CHOICE_NOT_FOUND
Error code constant indicating that the choice value is not found in the
choice set.
|
static java.lang.String |
DESIGN_EXCEPTION_DOT_FORBIDDEN
已过时。
|
static java.lang.String |
DESIGN_EXCEPTION_EXTENSION_SETTING_FORBIDDEN
The extension property of ExtendedItem is forbidden to be set by
commands.
|
static java.lang.String |
DESIGN_EXCEPTION_INVALID_VALUE
Error code constant indicating that the property value is invalid.
|
static java.lang.String |
DESIGN_EXCEPTION_ITEM_NOT_FOUND
Error code constant indicating that the item is not found in a list.
|
static java.lang.String |
DESIGN_EXCEPTION_NEGATIVE_VALUE
Error code constant indicating that the property value can not be
negative.
|
static java.lang.String |
DESIGN_EXCEPTION_NON_POSITIVE_VALUE
Error code constant indicating that the property value can not be
negative or zero.
|
static java.lang.String |
DESIGN_EXCEPTION_NOT_LIST_TYPE
Error code constant indicating that the property is not a list type.
|
static java.lang.String |
DESIGN_EXCEPTION_NOT_SUPPORTED_REPORT_ITEM_THEME_TYPE
Error codes that indicates that the report item theme type is not
supported yet.
|
static java.lang.String |
DESIGN_EXCEPTION_PROPERTY_CHANGE_FORBIDDEN
Within child element, properties that can cause structure change are not
allowed to set.
|
static java.lang.String |
DESIGN_EXCEPTION_UNIT_NOT_ALLOWED
Error code constant indicating unit is not allowed for the dimension
property.
|
static java.lang.String |
DESIGN_EXCEPTION_VALUE_EXISTS
Error code constant indicating that the property value already exists.
|
static java.lang.String |
DESIGN_EXCEPTION_VALUE_LOCKED
Error code constant indicating that property has been locked in a base
element, and the value of the property cannot be set in a derived
element.
|
static java.lang.String |
DESIGN_EXCEPTION_VALUE_REQUIRED
Error code constant indicating that the property value is required.
|
static java.lang.String |
DESIGN_EXCEPTION_WRONG_ELEMENT_TYPE
Error code constant indicating that the elements are of different types.
|
static java.lang.String |
DESIGN_EXCEPTION_WRONG_ITEM_TYPE
Error code constant indicating that the item is not type of structure
list referred.
|
protected java.lang.Object |
invalidValue
The invalid value.
|
protected java.lang.String |
memberName
The name of the member being set.
|
protected java.lang.String |
propertyDisplayName
The display name of the property being set.
|
protected java.lang.String |
propertyName
The name of the property being set.
|
protected java.lang.String |
propertyTypeName
Name of the type of the property.
|
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, elementPLUGIN_ID| 构造器和说明 |
|---|
PropertyValueException(org.eclipse.birt.report.model.core.DesignElement obj,
IPropertyDefn propDefn,
IPropertyDefn memberDefn,
java.lang.Object value,
java.lang.String errCode)
Constructs an exception given the definition of the property, the
structure member definition, an invalid value and its error code.
|
PropertyValueException(org.eclipse.birt.report.model.core.DesignElement obj,
IPropertyDefn propDefn,
java.lang.Object value,
java.lang.String errCode)
Constructs an exception given the definition of the property, an invalid
value and its error code.
|
PropertyValueException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String propName,
java.lang.Object value,
java.lang.String errCode)
Constructs an exception given an design element, an element property
name, an invalid value and the error code.
|
PropertyValueException(java.lang.Object value,
java.lang.String errCode)
Constructs an exception given an invalid value, error code.
|
PropertyValueException(java.lang.Object value,
java.lang.String errCode,
int type)
Constructs an exception given an invalid value, error code and the
property type constants.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
getInvalidValue()
Returns the invalid value.
|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getPropertyName()
Returns the name of the property being set.
|
void |
setElement(org.eclipse.birt.report.model.core.DesignElement obj)
Sets the element, if it is known.
|
void |
setPropertyName(java.lang.String propName)
Sets the name of the property being set, if it is known.
|
getElement, getElementName, getMessagegetErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeveritypublic static final java.lang.String DESIGN_EXCEPTION_INVALID_VALUE
public static final java.lang.String DESIGN_EXCEPTION_NEGATIVE_VALUE
public static final java.lang.String DESIGN_EXCEPTION_NON_POSITIVE_VALUE
public static final java.lang.String DESIGN_EXCEPTION_CHOICE_NOT_FOUND
public static final java.lang.String DESIGN_EXCEPTION_NOT_LIST_TYPE
public static final java.lang.String DESIGN_EXCEPTION_ITEM_NOT_FOUND
public static final java.lang.String DESIGN_EXCEPTION_WRONG_ITEM_TYPE
public static final java.lang.String DESIGN_EXCEPTION_WRONG_ELEMENT_TYPE
public static final java.lang.String DESIGN_EXCEPTION_VALUE_EXISTS
public static final java.lang.String DESIGN_EXCEPTION_VALUE_REQUIRED
public static final java.lang.String DESIGN_EXCEPTION_VALUE_LOCKED
public static final java.lang.String DESIGN_EXCEPTION_UNIT_NOT_ALLOWED
public static final java.lang.String DESIGN_EXCEPTION_CHOICE_NOT_ALLOWED
public static final java.lang.String DESIGN_EXCEPTION_EXTENSION_SETTING_FORBIDDEN
public static final java.lang.String DESIGN_EXCEPTION_PROPERTY_CHANGE_FORBIDDEN
public static final java.lang.String DESIGN_EXCEPTION_DOT_FORBIDDEN
public static final java.lang.String DESIGN_EXCEPTION_NOT_SUPPORTED_REPORT_ITEM_THEME_TYPE
protected java.lang.Object invalidValue
protected java.lang.String propertyName
protected java.lang.String memberName
protected java.lang.String propertyTypeName
protected java.lang.String propertyDisplayName
public PropertyValueException(java.lang.Object value,
java.lang.String errCode,
int type)
value - The invalid value.errCode - description of the problemtype - the parameter data typepublic PropertyValueException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String propName,
java.lang.Object value,
java.lang.String errCode)
obj - design element on which the property was being setpropName - name of the property or the method being setvalue - the invalid valueerrCode - description of the problempublic PropertyValueException(org.eclipse.birt.report.model.core.DesignElement obj,
IPropertyDefn propDefn,
java.lang.Object value,
java.lang.String errCode)
obj - design element on which the property was being setpropDefn - definition of the property.value - invalid value of the property.errCode - error code.public PropertyValueException(org.eclipse.birt.report.model.core.DesignElement obj,
IPropertyDefn propDefn,
IPropertyDefn memberDefn,
java.lang.Object value,
java.lang.String errCode)
obj - design element on which the property was being setpropDefn - definition of the property.memberDefn - definition of the structure membervalue - invalid value of the property.errCode - error code.public PropertyValueException(java.lang.Object value,
java.lang.String errCode)
value - The invalid value.errCode - description of the problempublic void setElement(org.eclipse.birt.report.model.core.DesignElement obj)
obj - The element on which the property was being set.public void setPropertyName(java.lang.String propName)
propName - The name of the property being set.public java.lang.Object getInvalidValue()
public java.lang.String getPropertyName()
public java.lang.String getLocalizedMessage()
getLocalizedMessage 在类中 SemanticExceptionCopyright © 2008 Actuate Corp. All rights reserved.