Class NameException

All Implemented Interfaces:
Serializable

public class NameException extends SemanticException
Indicates an error when setting the name of an element.
See Also:
  • Field Details

    • name

      protected String name
      The new element name.
    • DESIGN_EXCEPTION_NAME_REQUIRED

      public static final String DESIGN_EXCEPTION_NAME_REQUIRED
      Error code indicating the element miss its name, while the name is required.
      See Also:
    • DESIGN_EXCEPTION_NAME_FORBIDDEN

      public static final String DESIGN_EXCEPTION_NAME_FORBIDDEN
      Error code indicating the element is not allowed to have name.
      See Also:
    • DESIGN_EXCEPTION_DUPLICATE

      public static final String DESIGN_EXCEPTION_DUPLICATE
      Error code indicating the new name duplicates an existing name in the same name space.
      See Also:
    • DESIGN_EXCEPTION_HAS_REFERENCES

      public static final String DESIGN_EXCEPTION_HAS_REFERENCES
      Error code indicating the element has references, so it cannot be anonymous.
      See Also:
    • DESIGN_EXCEPTION_DOT_FORBIDDEN

      @Deprecated public static final String DESIGN_EXCEPTION_DOT_FORBIDDEN
      Deprecated.
      The character "." is forbidden to NamePropertyType.
      See Also:
    • DESIGN_EXCEPTION_INVALID_NAME

      public static final String DESIGN_EXCEPTION_INVALID_NAME
      See Also:
    • DESIGN_EXCEPTION_INVALID_STYLE_NAME

      public static final String DESIGN_EXCEPTION_INVALID_STYLE_NAME
      The style name is invalid for CSS2 specification.
      See Also:
  • Constructor Details

    • NameException

      public NameException(org.eclipse.birt.report.model.core.DesignElement obj, String str, String errCode)
      Constructor.
      Parameters:
      obj - the element being changed.
      str - the name that caused the error.
      errCode - what went wrong.
  • Method Details