com.isomorphic.util

## Class ErrorMessage

- java.lang.Object
- - java.util.AbstractMap
  - - java.util.HashMap
    - - com.isomorphic.util.ErrorMessage

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map

      public class ErrorMessage
      extends java.util.HashMap

  Encapsulates a validation error.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ErrorMessage()` Creates an empty ErrorMessage
    `ErrorMessage(java.lang.String errorString)` Creates an ErrorMessage with the given errorString

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getErrorString()`
    `void` | `setErrorString(java.lang.String errorString)` Sets the error string

- - ### Constructor Detail

    - #### ErrorMessage

          public ErrorMessage()

      Creates an empty ErrorMessage

    - #### ErrorMessage

          public ErrorMessage(java.lang.String errorString)

      Creates an ErrorMessage with the given errorString
      Parameters:
        `errorString` - the errorString

  - ### Method Detail

    - #### setErrorString

          public void setErrorString(java.lang.String errorString)

      Sets the error string
      Parameters:
        `errorString` - the error string

    - #### getErrorString

          public java.lang.String getErrorString()

      Returns:
        errorString