Enum SpelMessage

  • All Implemented Interfaces:
    Serializable, Comparable<SpelMessage>

    public enum SpelMessage
    extends Enum<SpelMessage>
    Contains all the messages that can be produced by the Spring Expression Language. Each message has a kind (info, warn, error) and a code number. Tests can be written to expect particular code numbers rather than particular text, enabling the message text to more easily be modified and the tests to run successfully in different locales.

    When a message is formatted, it will have this kind of form, capturing the prefix and the error kind:

    EL1004E: Type cannot be found 'String'
    Since:
    3.0
    Author:
    Andy Clement, Juergen Hoeller