com.legstar.coxb.convert
Class CobolConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.legstar.coxb.host.HostException
              extended by com.legstar.coxb.convert.CobolConversionException
All Implemented Interfaces:
Serializable

public class CobolConversionException
extends HostException

Java element to host conversion issue.

Author:
Fady Moussallam
See Also:
Serialized Form

Constructor Summary
CobolConversionException(String message)
          Contructor used when no host field exists.
CobolConversionException(String message, HostData hostField, int errorOffset)
          Contructor used when host field exist.
CobolConversionException(String message, HostData hostField, int errorOffset, int errorLength)
          Contructor used when host field exist.
 
Method Summary
 
Methods inherited from class com.legstar.coxb.host.HostException
getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CobolConversionException

public CobolConversionException(String message)
Contructor used when no host field exists.

Parameters:
message - text describing the issue

CobolConversionException

public CobolConversionException(String message,
                                HostData hostField,
                                int errorOffset)
Contructor used when host field exist.

Parameters:
message - text describing the issue
hostField - host field on which the error occured
errorOffset - position in host data where faulty field starts

CobolConversionException

public CobolConversionException(String message,
                                HostData hostField,
                                int errorOffset,
                                int errorLength)
Contructor used when host field exist.

Parameters:
message - text describing the issue
hostField - host field on which the error occured
errorOffset - position in host data where faulty field starts
errorLength - length of faulty field


Copyright © 2015 LegSem. All Rights Reserved.