Package org.marc4j.marc
Class IllegalDataElementException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.marc4j.marc.IllegalDataElementException
-
- All Implemented Interfaces:
Serializable
public class IllegalDataElementException extends IllegalArgumentException
IllegalDataElementException
is thrown when a data element contains invalid characters, like a field or record terminator or a delimiter.- Author:
- Bas Peters
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalDataElementException()
Creates a newIllegalDataElementException
.IllegalDataElementException(String reason)
Creates a newIllegalDataElementException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalDataElementException
public IllegalDataElementException()
Creates a new
IllegalDataElementException
.
-
IllegalDataElementException
public IllegalDataElementException(String reason)
Creates a new
IllegalDataElementException
.- Parameters:
reason
- the reason why the exception is thrown
-
-