org.eclipse.birt.report.model.api.command
Class WrongTypeException
java.lang.Object
java.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
org.eclipse.birt.report.model.api.command.WrongTypeException
- All Implemented Interfaces:
- java.io.Serializable
public class WrongTypeException
- extends ExtendsException
An error indicates wrong type while setting the extends property of an
element.
- See Also:
- Serialized Form
Fields inherited from class org.eclipse.birt.report.model.api.command.ExtendsException |
DESIGN_EXCEPTION_CANT_EXTEND, DESIGN_EXCEPTION_CIRCULAR, DESIGN_EXCEPTION_EXTENDS_FORBIDDEN, DESIGN_EXCEPTION_NO_PARENT, DESIGN_EXCEPTION_PARENT_NOT_FOUND, DESIGN_EXCEPTION_PARENT_NOT_IN_COMPONENT, DESIGN_EXCEPTION_PARENT_NOT_INCLUDE, DESIGN_EXCEPTION_SELF_EXTEND, DESIGN_EXCEPTION_UNNAMED_PARENT, extendsName, parent |
Fields inherited from class org.eclipse.birt.core.exception.BirtException |
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING |
Constructor Summary |
WrongTypeException(org.eclipse.birt.report.model.core.DesignElement obj,
org.eclipse.birt.report.model.core.DesignElement parent,
java.lang.String errCode)
Constructor. |
WrongTypeException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String name,
java.lang.String errCode)
Constructor. |
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 |
DESIGN_EXCEPTION_WRONG_TYPE
public static final java.lang.String DESIGN_EXCEPTION_WRONG_TYPE
- The parent element does not have the same type as the target element.
- See Also:
- Constant Field Values
DESIGN_EXCEPTION_WRONG_EXTENSION_TYPE
public static final java.lang.String DESIGN_EXCEPTION_WRONG_EXTENSION_TYPE
- The parent element does not have the same type of extension as the target
element. Both the parent and the target element are ExtendedItem.
- See Also:
- Constant Field Values
WrongTypeException
public WrongTypeException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String name,
java.lang.String errCode)
- Constructor.
- Parameters:
obj
- the element being changed.name
- the value being set for the extends property.errCode
- what went wrong.
WrongTypeException
public WrongTypeException(org.eclipse.birt.report.model.core.DesignElement obj,
org.eclipse.birt.report.model.core.DesignElement parent,
java.lang.String errCode)
- Constructor.
- Parameters:
obj
- the element being changed.parent
- the parent element.errCode
- what went wrong.
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class ExtendsException
Copyright © 2008 Actuate Corp. All rights reserved.