Class CopyBookParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.internal.eis.cobol.CopyBookParseException
- All Implemented Interfaces:
Serializable
Purpose: This class creates all exceptions for the copy book parser
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
Constructor Summary
ConstructorDescriptionCopyBookParseException
(String message) CopyBookParseException
(String message, Exception exception) -
Method Summary
Modifier and TypeMethodDescriptionstatic CopyBookParseException
invalidCopyBookException
(String message) this exception is thrown when a problem is encountered parsing a copybookstatic CopyBookParseException
ioException
(IOException internalException) this exception is thrown when an io exception occurs during copybook parsingMethods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
INVALID_COPYBOOK
public static final int INVALID_COPYBOOK- See Also:
-
IO_EXCEPTION
public static final int IO_EXCEPTION- See Also:
-
-
Constructor Details
-
CopyBookParseException
public CopyBookParseException() -
CopyBookParseException
-
CopyBookParseException
-
-
Method Details
-
invalidCopyBookException
this exception is thrown when a problem is encountered parsing a copybook -
ioException
this exception is thrown when an io exception occurs during copybook parsing
-