|
||||||||||
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.activity.SemanticException
org.eclipse.birt.report.model.api.command.ExtendsException
public class ExtendsException
Indicates an error while setting the extends property of an element.
Field Summary | |
---|---|
static java.lang.String |
DESIGN_EXCEPTION_CANT_EXTEND
Deprecated. pushed down to sub class ExtendsForbiddenException |
static java.lang.String |
DESIGN_EXCEPTION_CIRCULAR
Deprecated. pushed down to sub class CircularExtendsException |
static java.lang.String |
DESIGN_EXCEPTION_EXTENDS_FORBIDDEN
Deprecated. pushed down to sub class ExtendsForbiddenException |
static java.lang.String |
DESIGN_EXCEPTION_NO_PARENT
Deprecated. pushed down to sub class InvalidParentException |
static java.lang.String |
DESIGN_EXCEPTION_PARENT_NOT_FOUND
Deprecated. pushed down to sub class InvalidParentException |
static java.lang.String |
DESIGN_EXCEPTION_PARENT_NOT_IN_COMPONENT
Deprecated. pushed down to sub class ExtendsForbiddenException |
static java.lang.String |
DESIGN_EXCEPTION_PARENT_NOT_INCLUDE
Deprecated. pushed down to sub class InvalidParentException |
static java.lang.String |
DESIGN_EXCEPTION_SELF_EXTEND
Deprecated. pushed down to sub class CircularExtendsException |
static java.lang.String |
DESIGN_EXCEPTION_UNNAMED_PARENT
Deprecated. pushed down to sub class InvalidParentException |
static java.lang.String |
DESIGN_EXCEPTION_WRONG_EXTENSION_TYPE
Deprecated. pushed down to sub class WrongTypeException |
static java.lang.String |
DESIGN_EXCEPTION_WRONG_TYPE
Deprecated. pushed down to sub class WrongTypeException |
protected java.lang.String |
extendsName
The new extends value. |
protected org.eclipse.birt.report.model.core.DesignElement |
parent
The parent element to set. |
Fields inherited from class org.eclipse.birt.report.model.api.activity.SemanticException |
---|
element |
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 | |
---|---|
ExtendsException(org.eclipse.birt.report.model.core.DesignElement obj,
org.eclipse.birt.report.model.core.DesignElement parent,
java.lang.String errCode)
Constructor. |
|
ExtendsException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String name,
java.lang.String errCode)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
getExtends()
Returns the attempted new value for the extends property. |
java.lang.String |
getLocalizedMessage()
|
Methods inherited from class org.eclipse.birt.report.model.api.activity.SemanticException |
---|
getElement, getElementName, getMessage |
Methods inherited from class org.eclipse.birt.core.exception.BirtException |
---|
getErrorCode, getLocalizedMessage, 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 |
---|
protected java.lang.String extendsName
protected org.eclipse.birt.report.model.core.DesignElement parent
public static final java.lang.String DESIGN_EXCEPTION_PARENT_NOT_FOUND
InvalidParentException
public static final java.lang.String DESIGN_EXCEPTION_WRONG_TYPE
WrongTypeException
public static final java.lang.String DESIGN_EXCEPTION_WRONG_EXTENSION_TYPE
WrongTypeException
public static final java.lang.String DESIGN_EXCEPTION_EXTENDS_FORBIDDEN
ExtendsForbiddenException
public static final java.lang.String DESIGN_EXCEPTION_CANT_EXTEND
ExtendsForbiddenException
public static final java.lang.String DESIGN_EXCEPTION_SELF_EXTEND
CircularExtendsException
public static final java.lang.String DESIGN_EXCEPTION_CIRCULAR
CircularExtendsException
public static final java.lang.String DESIGN_EXCEPTION_UNNAMED_PARENT
InvalidParentException
public static final java.lang.String DESIGN_EXCEPTION_PARENT_NOT_IN_COMPONENT
ExtendsForbiddenException
public static final java.lang.String DESIGN_EXCEPTION_PARENT_NOT_INCLUDE
InvalidParentException
public static final java.lang.String DESIGN_EXCEPTION_NO_PARENT
InvalidParentException
Constructor Detail |
---|
public ExtendsException(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 ExtendsException(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.Method Detail |
---|
public java.lang.Object getExtends()
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 |