public class StyleSheetParserException extends ModelException
CssStyleSheet
. It records all the details about
the handler.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESIGN_EXCEPTION_INVALID_SHORT_HAND_CSSPROPERTY_VALUE
The value of the short-hand property is invalid to CSS2.
|
static java.lang.String |
DESIGN_EXCEPTION_INVALID_SIMPLE_CSSPROPERTY_VALUE
The property value is invalid to Model ROM.
|
static java.lang.String |
DESIGN_EXCEPTION_PROPERTY_NOT_SUPPORTED
The CSS property is not supported by BIRT.
|
static java.lang.String |
DESIGN_EXCEPTION_RULE_NOT_SUPPORTED
The rule is not supported.
|
static java.lang.String |
DESIGN_EXCEPTION_STYLE_NOT_SUPPORTED
The style is not supported.
|
PLUGIN_ID
Constructor and Description |
---|
StyleSheetParserException(java.lang.String name,
java.lang.String errCode)
Constructs the parser exception with the error code.
|
StyleSheetParserException(java.lang.String errCode,
java.lang.String propName,
java.lang.String value)
Constructs a parser exception with the error code and string arguments
used to format error messages.
|
StyleSheetParserException(java.lang.String errCode,
java.lang.String propName,
java.lang.String value,
java.lang.Throwable cause)
Constructs a parser exception with the error code, string arguments used
to format error messages and nested exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCSSPropertyName()
Gets the CSS property name.
|
java.lang.String |
getCSSValue()
Gets the CSS property text.
|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getName()
Gets the name of the style or rule which has the errors.
|
getErrorCode, getLocalizedMessage, getMessage, getPluginId, getSeverity, setSeverity
public static final java.lang.String DESIGN_EXCEPTION_RULE_NOT_SUPPORTED
public static final java.lang.String DESIGN_EXCEPTION_STYLE_NOT_SUPPORTED
public static final java.lang.String DESIGN_EXCEPTION_PROPERTY_NOT_SUPPORTED
public static final java.lang.String DESIGN_EXCEPTION_INVALID_SHORT_HAND_CSSPROPERTY_VALUE
public static final java.lang.String DESIGN_EXCEPTION_INVALID_SIMPLE_CSSPROPERTY_VALUE
public StyleSheetParserException(java.lang.String name, java.lang.String errCode)
name
- the name of the style or rule which has errorserrCode
- the error code of the exceptionpublic StyleSheetParserException(java.lang.String errCode, java.lang.String propName, java.lang.String value)
errCode
- used to retrieve a piece of externalized message displayed to
end userpropName
- the property namevalue
- the property valuepublic StyleSheetParserException(java.lang.String errCode, java.lang.String propName, java.lang.String value, java.lang.Throwable cause)
errCode
- used to retrieve a piece of externalized message displayed to
end userpropName
- the property namevalue
- the property valuecause
- the nested exceptionpublic java.lang.String getName()
public java.lang.String getCSSPropertyName()
public java.lang.String getCSSValue()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class org.eclipse.birt.core.exception.BirtException
Copyright © 2008 Actuate Corp. All rights reserved.