public class ExtendsForbiddenException extends ExtendsException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESIGN_EXCEPTION_CANT_EXTEND
The element does not allow extensions.
|
static java.lang.String |
DESIGN_EXCEPTION_EXTENDS_FORBIDDEN
The element does not allow to set extends explicitly.
|
static java.lang.String |
DESIGN_EXCEPTION_PARENT_NOT_IN_COMPONENT
The parent element not in component slot of report design.
|
static java.lang.String |
DESIGN_EXCEPTION_RESULT_SET_SHARED_CANT_EXTEND
The shared result set report item cannot be extended.
|
DESIGN_EXCEPTION_CIRCULAR, DESIGN_EXCEPTION_NO_PARENT, DESIGN_EXCEPTION_PARENT_NOT_FOUND, DESIGN_EXCEPTION_PARENT_NOT_INCLUDE, DESIGN_EXCEPTION_SELF_EXTEND, DESIGN_EXCEPTION_UNNAMED_PARENT, DESIGN_EXCEPTION_WRONG_EXTENSION_TYPE, DESIGN_EXCEPTION_WRONG_TYPE, extendsName, parent
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, element
PLUGIN_ID
Constructor and Description |
---|
ExtendsForbiddenException(org.eclipse.birt.report.model.core.DesignElement obj,
org.eclipse.birt.report.model.core.DesignElement parent,
java.lang.String errCode)
Constructor.
|
ExtendsForbiddenException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String name,
java.lang.String errCode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
getExtends
getElement, getElementName, getMessage
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverity
public static final java.lang.String DESIGN_EXCEPTION_EXTENDS_FORBIDDEN
public static final java.lang.String DESIGN_EXCEPTION_CANT_EXTEND
public static final java.lang.String DESIGN_EXCEPTION_PARENT_NOT_IN_COMPONENT
public static final java.lang.String DESIGN_EXCEPTION_RESULT_SET_SHARED_CANT_EXTEND
public ExtendsForbiddenException(org.eclipse.birt.report.model.core.DesignElement obj, java.lang.String name, java.lang.String errCode)
obj
- the element being changed.name
- the value being set for the extends property.errCode
- what went wrong.public ExtendsForbiddenException(org.eclipse.birt.report.model.core.DesignElement obj, org.eclipse.birt.report.model.core.DesignElement parent, java.lang.String errCode)
obj
- the element being changed.parent
- the parent element.errCode
- what went wrong.public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class ExtendsException
Copyright © 2008 Actuate Corp. All rights reserved.