|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.report.model.api.ModelException
org.eclipse.birt.report.model.api.css.StyleSheetParserException
public class StyleSheetParserException
Exception thrown if an error occurs when translating an external style sheet
to our own CssStyleSheet
. It records all the details about
the handler.
Field Summary | |
---|---|
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. |
Fields inherited from class org.eclipse.birt.report.model.api.ModelException |
---|
PLUGIN_ID |
Fields inherited from class org.eclipse.birt.core.exception.BirtException |
---|
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.birt.core.exception.BirtException |
---|
getErrorCode, getLocalizedMessage, getMessage, getPluginId, getSeverity, setSeverity |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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 exceptionMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |