public class LibraryException extends SemanticException
| 限定符和类型 | 字段和说明 |
|---|---|
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, elementPLUGIN_ID| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getLocalizedMessage() |
getElement, getElementName, getMessagegetErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeveritypublic 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 在类中 SemanticExceptionCopyright © 2008 Actuate Corp. All rights reserved.