Package com.isomorphic.util

# Class ErrorMessage

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
com.isomorphic.util.ErrorMessage

All Implemented Interfaces:
  `Serializable`, `Cloneable`, `Map`

public class ErrorMessage extends HashMap implements Serializable
Encapsulates a validation error.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ErrorMessage()`
  Creates an empty ErrorMessage
  `ErrorMessage(String errorString)`
  Creates an ErrorMessage with the given errorString

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getErrorString()`
  `void`
  `setErrorString(String errorString)`
  Sets the error string

- ## Constructor Details

  - ### ErrorMessage

    public ErrorMessage()
    Creates an empty ErrorMessage

  - ### ErrorMessage

    public ErrorMessage(String errorString)
    Creates an ErrorMessage with the given errorString
    Parameters:
      `errorString` - the errorString

- ## Method Details

  - ### setErrorString

    public void setErrorString(String errorString)
    Sets the error string
    Parameters:
      `errorString` - the error string

  - ### getErrorString

    public String getErrorString()
    Returns:
      errorString