Class StyleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.birt.core.exception.BirtException
All Implemented Interfaces:
Serializable

public class StyleException extends SemanticException
Indicates an error while setting the style of an element.
See Also:
  • Field Details

    • styleName

      protected String styleName
      The style name being set.
    • DESIGN_EXCEPTION_FORBIDDEN

      public static final String DESIGN_EXCEPTION_FORBIDDEN
      Error code indicating the element is not allowed to have style.
      See Also:
    • DESIGN_EXCEPTION_NOT_FOUND

      public static final String DESIGN_EXCEPTION_NOT_FOUND
      Error code indicating no style is found with the given name.
      See Also:
  • Constructor Details

    • StyleException

      public StyleException(org.eclipse.birt.report.model.core.DesignElement obj, String str, String errCode)
      Constructor.
      Parameters:
      obj - the element being changed.
      str - the name of the style.
      errCode - the error code.
  • Method Details