org.qedeq.kernel.bo.logic.common
Class LogicalCheckExceptionList

java.lang.Object
  extended by org.qedeq.kernel.bo.logic.common.LogicalCheckExceptionList

public class LogicalCheckExceptionList
extends java.lang.Object

Type save LogicalCheckException list.

Author:
Michael Meyling

Constructor Summary
LogicalCheckExceptionList()
          Constructor.
 
Method Summary
 void add(LogicalCheckException e)
          Add exception.
 void add(LogicalCheckExceptionList e)
          Add exceptions.
 LogicalCheckException get(int i)
          Get i-th exception.
 boolean hasErrors()
          Contains this list any errors?
 int size()
          Get number of collected exceptions.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalCheckExceptionList

public LogicalCheckExceptionList()
Constructor.

Method Detail

add

public void add(LogicalCheckException e)
Add exception.

Parameters:
e - Exception to add.

add

public void add(LogicalCheckExceptionList e)
Add exceptions.

Parameters:
e - Exceptions to add.

size

public int size()
Get number of collected exceptions.

Returns:
Number of collected exceptions.

get

public LogicalCheckException get(int i)
Get i-th exception.

Parameters:
i - Starts with 0 and must be smaller than size().
Returns:
Wanted exception.

hasErrors

public boolean hasErrors()
Contains this list any errors?

Returns:
Do I contain any errors?

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2014. All Rights Reserved.