Class CustomMsgException

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

public class CustomMsgException extends SemanticException
Reports an error during a user-defined message operation.
See Also:
  • Field Details

    • DESIGN_EXCEPTION_RESOURCE_KEY_REQUIRED

      public static final String DESIGN_EXCEPTION_RESOURCE_KEY_REQUIRED
      The resource key must be specified for the Translation.
      See Also:
    • DESIGN_EXCEPTION_DUPLICATE_LOCALE

      public static final String DESIGN_EXCEPTION_DUPLICATE_LOCALE
      Duplicated locale for one single message.
      See Also:
    • DESIGN_EXCEPTION_INVALID_LOCALE

      public static final String DESIGN_EXCEPTION_INVALID_LOCALE
      Invalid locale.
      See Also:
    • DESIGN_EXCEPTION_TRANSLATION_NOT_FOUND

      public static final String DESIGN_EXCEPTION_TRANSLATION_NOT_FOUND
      translation is not found in the report.
      See Also:
  • Constructor Details

    • CustomMsgException

      public CustomMsgException(org.eclipse.birt.report.model.core.DesignElement element, String errCode)
      Constructs the exception with error code.
      Parameters:
      element - the element
      errCode - the error code
    • CustomMsgException

      public CustomMsgException(org.eclipse.birt.report.model.core.DesignElement element, String resourceKey, String locale, String errCode)
      Constructs the exception with error code.
      Parameters:
      element - the element
      resourceKey - the resource key which is involved in this exception
      locale - the locale which is involved in this exception
      errCode - the error code
  • Method Details