org.milyn.edisax
Class EDIParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xml.sax.SAXException
              extended by org.milyn.edisax.EDIParseException
All Implemented Interfaces:
Serializable

public class EDIParseException
extends SAXException

EDI message parsing exception.

Author:
tfennelly
See Also:
Serialized Form

Constructor Summary
EDIParseException(Edimap mappingModel, String message)
          Public constructor.
EDIParseException(Edimap mappingModel, String message, Exception cause)
          Public constructor.
EDIParseException(Edimap mappingModel, String message, Exception cause, MappingNode mappingNode, int segmentNumber, String[] segmentLine)
          Public constructor.
EDIParseException(Edimap mappingModel, String message, MappingNode mappingNode, int segmentNumber, String[] segmentLine)
          Public constructor.
EDIParseException(String message)
          Public constructor.
EDIParseException(String message, Exception cause)
          Public constructor.
EDIParseException(String message, Exception cause, MappingNode mappingNode, int segmentNumber, String[] segmentLine)
          Public constructor.
 
Method Summary
 MappingNode getErrorNode()
           
 String[] getSegmentline()
           
 int getSegmentNumber()
           
 
Methods inherited from class org.xml.sax.SAXException
getCause, getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

EDIParseException

public EDIParseException(String message)
Public constructor.

Parameters:
message - Exception message.

EDIParseException

public EDIParseException(String message,
                         Exception cause)
Public constructor.

Parameters:
message - Exception message.
cause - Exception cause

EDIParseException

public EDIParseException(Edimap mappingModel,
                         String message)
Public constructor.

Parameters:
mappingModel - The mapping model for the message on which the exception was encoutered.
message - Exception message.

EDIParseException

public EDIParseException(Edimap mappingModel,
                         String message,
                         Exception cause)
Public constructor.

Parameters:
mappingModel - The mapping model for the message on which the exception was encoutered.
message - Exception message.
cause - Exception cause.

EDIParseException

public EDIParseException(String message,
                         Exception cause,
                         MappingNode mappingNode,
                         int segmentNumber,
                         String[] segmentLine)
Public constructor.

Parameters:
message - Exception message.
cause - Exception cause
mappingNode - the Segment, Field or Component where error occured.
segmentNumber - the segment number where the error occured.
segmentLine - the segment line where the error occured.

EDIParseException

public EDIParseException(Edimap mappingModel,
                         String message,
                         MappingNode mappingNode,
                         int segmentNumber,
                         String[] segmentLine)
Public constructor.

Parameters:
mappingModel - The mapping model for the message on which the exception was encoutered.
message - Exception message.
mappingNode - the Segment, Field or Component where error occured.
segmentNumber - the segment number where the error occured.
segmentLine - the segment line where the error occured.

EDIParseException

public EDIParseException(Edimap mappingModel,
                         String message,
                         Exception cause,
                         MappingNode mappingNode,
                         int segmentNumber,
                         String[] segmentLine)
Public constructor.

Parameters:
mappingModel - The mapping model for the message on which the exception was encoutered.
message - Exception message.
cause - Exception cause.
mappingNode - the Segment, Field or Component where error occured.
segmentNumber - the segment number where the error occured.
segmentLine - the segment line where the error occured.
Method Detail

getErrorNode

public MappingNode getErrorNode()

getSegmentNumber

public int getSegmentNumber()

getSegmentline

public String[] getSegmentline()


Copyright © 2018. All rights reserved.