public class LibraryException extends SemanticException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESIGN_EXCEPTION_DUPLICATE_LIBRARY_NAMESPACE
Indicates the namespace one library is using is duplicate.
|
static java.lang.String |
DESIGN_EXCEPTION_INVALID_LIBRARY_NAMESPACE
Indicates the namespace of library is invalid, for it is empty or
contains illegal characters.
|
static java.lang.String |
DESIGN_EXCEPTION_LIBRARY_ALREADY_INCLUDED
Indicates that library is already included, a library can not be added
twice.
|
static java.lang.String |
DESIGN_EXCEPTION_LIBRARY_HAS_DESCENDENTS
Indicates that library has descendents in the current module.
|
static java.lang.String |
DESIGN_EXCEPTION_LIBRARY_INCLUDED_RECURSIVELY
Indicates the library is included recursively.
|
static java.lang.String |
DESIGN_EXCEPTION_LIBRARY_NOT_FOUND
Indicates the library is not found in module.
|
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, element
PLUGIN_ID
Constructor and Description |
---|
LibraryException(org.eclipse.birt.report.model.core.Module module,
java.lang.String errCode)
Constructor.
|
LibraryException(org.eclipse.birt.report.model.core.Module module,
java.lang.String[] values,
java.lang.String errCode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
getElement, getElementName, getMessage
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverity
public static final java.lang.String DESIGN_EXCEPTION_LIBRARY_NOT_FOUND
public static final java.lang.String DESIGN_EXCEPTION_DUPLICATE_LIBRARY_NAMESPACE
public static final java.lang.String DESIGN_EXCEPTION_LIBRARY_INCLUDED_RECURSIVELY
public static final java.lang.String DESIGN_EXCEPTION_LIBRARY_HAS_DESCENDENTS
public static final java.lang.String DESIGN_EXCEPTION_LIBRARY_ALREADY_INCLUDED
public static final java.lang.String DESIGN_EXCEPTION_INVALID_LIBRARY_NAMESPACE
public LibraryException(org.eclipse.birt.report.model.core.Module module, java.lang.String errCode)
module
- the module which has errorserrCode
- the error codepublic LibraryException(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 java.lang.String getLocalizedMessage()
getLocalizedMessage
in class SemanticException
Copyright © 2008 Actuate Corp. All rights reserved.