public class CssException extends SemanticException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESIGN_EXCEPTION_BADCSSFILE
Bad css file.
|
static java.lang.String |
DESIGN_EXCEPTION_CSS_NOT_FOUND
Indicates the css is not found in module.
|
static java.lang.String |
DESIGN_EXCEPTION_DUPLICATE_CSS
Indicates the css is using is duplicate.
|
static java.lang.String |
DESIGN_EXCEPTION_READONLY
Read-only style
|
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, element
PLUGIN_ID
Constructor and Description |
---|
CssException(org.eclipse.birt.report.model.core.Module module,
IncludedCssStyleSheet styleSheet,
java.lang.String[] values,
java.lang.String errCode)
Constructor.
|
CssException(org.eclipse.birt.report.model.core.Module module,
java.lang.String[] values,
java.lang.String errCode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IncludedCssStyleSheet |
getIncludedStyleSheet()
Gets the included CSS style sheet for this exception.
|
java.lang.String |
getLocalizedMessage() |
getElement, getElementName, getMessage
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverity
public static final java.lang.String DESIGN_EXCEPTION_CSS_NOT_FOUND
public static final java.lang.String DESIGN_EXCEPTION_DUPLICATE_CSS
public static final java.lang.String DESIGN_EXCEPTION_BADCSSFILE
public static final java.lang.String DESIGN_EXCEPTION_READONLY
public CssException(org.eclipse.birt.report.model.core.Module module, java.lang.String[] values, java.lang.String errCode)
module
- the module which has errorsvalues
- value array used for error messageerrCode
- the error codepublic CssException(org.eclipse.birt.report.model.core.Module module, IncludedCssStyleSheet styleSheet, java.lang.String[] values, java.lang.String errCode)
module
- the module which has errorsstyleSheet
- values
- value array used for error messageerrCode
- the error codepublic IncludedCssStyleSheet getIncludedStyleSheet()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class SemanticException
Copyright © 2008 Actuate Corp. All rights reserved.