|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.marc4j.helpers.ErrorHandlerImpl
Implements the ErrorHandler
interface to report about
warnings and errors that occur during the parsing of a MARC record.
ErrorHandler
Constructor Summary | |
ErrorHandlerImpl()
|
Method Summary | |
void |
error(MarcReaderException exception)
Receive notification of an error. |
void |
fatalError(MarcReaderException exception)
Receive notification of a fatal error. |
static String |
printMarcException(String label,
MarcReaderException e)
|
void |
warning(MarcReaderException exception)
Receive notification of a warning. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ErrorHandlerImpl()
Method Detail |
public void warning(MarcReaderException exception)
ErrorHandler
Receive notification of a warning.
warning
in interface ErrorHandler
public void error(MarcReaderException exception)
ErrorHandler
Receive notification of an error.
error
in interface ErrorHandler
public void fatalError(MarcReaderException exception)
ErrorHandler
Receive notification of a fatal error.
fatalError
in interface ErrorHandler
public static String printMarcException(String label, MarcReaderException e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |