Package org.marc4j.marc
Class MarcException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.marc4j.marc.MarcException
-
- All Implemented Interfaces:
Serializable
public class MarcException extends RuntimeException
MarcException
is thrown when an error occurs while processing a record object.- Author:
- Bas Peters
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MarcException()
Creates a newMarcException
.MarcException(String message)
Creates a newMarcException
with the specified message.MarcException(String message, Throwable ex)
Creates a newMarcException
with the specified message and an underlying root cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MarcException
public MarcException()
Creates a new
MarcException
.
-
MarcException
public MarcException(String message)
Creates a new
MarcException
with the specified message.- Parameters:
message
- information about the cause of the exception
-
-