public class StyleSheetParserException extends ModelException
CssStyleSheet. It records all the details about
the handler.| 限定符和类型 | 字段和说明 |
|---|---|
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| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, setSeveritypublic 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 在类中 org.eclipse.birt.core.exception.BirtExceptionCopyright © 2008 Actuate Corp. All rights reserved.