biz.onixs.fix.parser.exception
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by biz.onixs.fix.parser.exception.ParserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IncorrectCheckSumException, IncorrectNumInGroupCountForRepeatingGroupException, InstanceIndexOutOfRangeException, InvalidMsgTypeException, RequiredTagMissingException, TagNotDefinedForThisMessageTypeException, TagSpecifiedOutOfRequiredOrderException, TagSpecifiedWithoutValue, ValueIsIncorrectException

public class ParserException
extends RuntimeException

Parser's Exception.

See Also:
Serialized Form

Field Summary
protected  String message_
           
static int OTHER_REJECT_REASON
           
 
Constructor Summary
ParserException(String reason, biz.onixs.util.ByteBuffer rawMsg)
           
ParserException(String reason, biz.onixs.util.ByteBuffer rawMsg, RuntimeException ex)
           
ParserException(String reason, int refTag)
           
ParserException(String reason, int refTag, int rejectReason)
           
ParserException(String reason, int refTag, int rejectReason, biz.onixs.util.ByteBuffer rawMsg)
           
ParserException(String reason, int nInstancesTag, int instance, int refTag, int rejectReason, Message msg)
           
ParserException(String reason, int nInstancesTag, int instance, int refTag, Message msg)
           
ParserException(String reason, int refTag, int rejectReason, Message msg)
           
ParserException(String reason, int refTag, Message msg)
           
 
Method Summary
protected  void addSeparatorIfRequired(StringBuilder sb)
           
static String findMsgType(biz.onixs.util.ByteBuffer rawMsg)
           
protected  void findSeqNum(biz.onixs.util.ByteBuffer rawMsg)
           
protected  void formatMessage()
           
protected  void formatReason(String text)
           
 String getMessage()
           
 String getRefMsgType()
           
 long getRefSeqNum()
           
 int getRefTagID()
           
 int getRejectReason()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OTHER_REJECT_REASON

public static final int OTHER_REJECT_REASON
See Also:
Constant Field Values

message_

protected String message_
Constructor Detail

ParserException

public ParserException(String reason,
                       int refTag)

ParserException

public ParserException(String reason,
                       int refTag,
                       int rejectReason)

ParserException

public ParserException(String reason,
                       int refTag,
                       Message msg)

ParserException

public ParserException(String reason,
                       int refTag,
                       int rejectReason,
                       Message msg)

ParserException

public ParserException(String reason,
                       int nInstancesTag,
                       int instance,
                       int refTag,
                       Message msg)

ParserException

public ParserException(String reason,
                       int nInstancesTag,
                       int instance,
                       int refTag,
                       int rejectReason,
                       Message msg)

ParserException

public ParserException(String reason,
                       biz.onixs.util.ByteBuffer rawMsg)

ParserException

public ParserException(String reason,
                       biz.onixs.util.ByteBuffer rawMsg,
                       RuntimeException ex)

ParserException

public ParserException(String reason,
                       int refTag,
                       int rejectReason,
                       biz.onixs.util.ByteBuffer rawMsg)
Method Detail

findMsgType

public static String findMsgType(biz.onixs.util.ByteBuffer rawMsg)

getRefSeqNum

public long getRefSeqNum()

getRefTagID

public int getRefTagID()

getRefMsgType

public String getRefMsgType()

getRejectReason

public int getRejectReason()

formatReason

protected void formatReason(String text)

findSeqNum

protected void findSeqNum(biz.onixs.util.ByteBuffer rawMsg)

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

formatMessage

protected void formatMessage()

addSeparatorIfRequired

protected void addSeparatorIfRequired(StringBuilder sb)


Copyright © 2005-2012 Onix Solutions. All Rights Reserved.