com.corticon.eclipse.core

## Class ParserMessages

- java.lang.Object
- - com.corticon.eclipse.core.ParserMessages

-     public class ParserMessages
      extends java.lang.Object

  ParserMessages provides lookup and mapping services for parser messages.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParserMessages()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `getMessage(CcCoreException aCcCoreException, java.util.Locale aLocale)` Given a core exception and a locale, return a localized message.
    `static com.corticon.rulesemf.common.ValidationMessageSeverity` | `getSeverity(CcCoreException aCcCorException)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ParserMessages

          public ParserMessages()

  - ### Method Detail

    - #### getMessage

          public static java.lang.String getMessage(CcCoreException aCcCoreException,
                                    java.util.Locale aLocale)

      Given a core exception and a locale, return a localized message. The message may either be a simple message with no variables, or may be a formatted message (via MessageFormat) depending on the number of references specified in the exception.
      Parameters:
        `aCcCoreException` - Exception whose parser error message is to be returned.
        `aLocale` - Locale of message to return.
      Returns:
        Localized message.

    - #### getSeverity

          public static com.corticon.rulesemf.common.ValidationMessageSeverity getSeverity(CcCoreException aCcCorException)

Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.