org.eclipse.birt.report.model.api.command
Class InvalidParentException
java.lang.Object
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.InvalidParentException
public class InvalidParentException
- extends ExtendsException
An error indicates invalid parent while setting the extends property of an
element.
Constructor Summary |
InvalidParentException(org.eclipse.birt.report.model.core.DesignElement obj,
org.eclipse.birt.report.model.core.DesignElement parent,
java.lang.String errCode)
Constructor. |
InvalidParentException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String name,
java.lang.String errCode)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESIGN_EXCEPTION_PARENT_NOT_FOUND
public static final java.lang.String DESIGN_EXCEPTION_PARENT_NOT_FOUND
- No element exists with the parent name.
- See Also:
- Constant Field Values
DESIGN_EXCEPTION_PARENT_NOT_INCLUDE
public static final java.lang.String DESIGN_EXCEPTION_PARENT_NOT_INCLUDE
- The library of the parent element is not included.
- See Also:
- Constant Field Values
DESIGN_EXCEPTION_NO_PARENT
public static final java.lang.String DESIGN_EXCEPTION_NO_PARENT
- The element has no parent, it can not be localized.
- See Also:
- Constant Field Values
DESIGN_EXCEPTION_UNNAMED_PARENT
public static final java.lang.String DESIGN_EXCEPTION_UNNAMED_PARENT
- The parent element has no name.
- See Also:
- Constant Field Values
InvalidParentException
public InvalidParentException(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.
InvalidParentException
public InvalidParentException(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.