class MessageErrorDigest extends AbstractCollection<MessageDigestErrorEntry> implements Serializable,
    List<MessageDigestErrorEntry> {

  public void setMaxMessages(int maxMessages) {
    if (maxMessages <= 0) {
      this.maxMessages = DEFAULT_MAX_MESSAGES;
    }
    else {
      this.maxMessages = maxMessages;
    }
  }

  public  MessageErrorDigest();
  public  MessageErrorDigest(Collection<MessageDigestErrorEntry> original);
  public  MessageErrorDigest(int size, Collection<MessageDigestErrorEntry> original);
  public  MessageErrorDigest(MessageErrorDigest digest, int fromIndex);
  public  MessageErrorDigest(int size, MessageErrorDigest digest, int fromIndex);
  public  MessageErrorDigest(MessageErrorDigest digest, int fromIndex, int toIndex);
  public  MessageErrorDigest(int size, MessageErrorDigest digest, int fromIndex, int toIndex);

}