Class Result
- java.lang.Object
-
- org.fugerit.java.core.lang.helpers.Result
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SAXParseResult
public class Result extends Object implements Serializable
- Author:
- Fugerit
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
errorCount()
Collection<Exception>
errors()
int
fatalCount()
Collection<Exception>
fatals()
Collection<Exception>
fatalsAndErrors()
Exception
getError(int index)
Exception
getFatal(int index)
Exception
getWarning(int index)
boolean
isPartialSuccess()
boolean
isTotalSuccess()
void
printErrorReport(PrintStream stream)
void
putError(Exception ex)
void
putFatal(Exception ex)
void
putWarning(Exception ex)
int
warningCount()
Collection<Exception>
warnings()
-
-
-
Method Detail
-
printErrorReport
public void printErrorReport(PrintStream stream)
-
isPartialSuccess
public boolean isPartialSuccess()
-
isTotalSuccess
public boolean isTotalSuccess()
-
clear
public void clear()
-
warningCount
public int warningCount()
-
fatalCount
public int fatalCount()
-
errorCount
public int errorCount()
-
putWarning
public void putWarning(Exception ex)
-
putFatal
public void putFatal(Exception ex)
-
putError
public void putError(Exception ex)
-
getWarning
public Exception getWarning(int index)
-
getFatal
public Exception getFatal(int index)
-
getError
public Exception getError(int index)
-
errors
public Collection<Exception> errors()
-
fatals
public Collection<Exception> fatals()
-
warnings
public Collection<Exception> warnings()
-
fatalsAndErrors
public Collection<Exception> fatalsAndErrors()
-
-