com.reverseXSL.parser
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.reverseXSL.exception.FormattedException
              extended by com.reverseXSL.parser.ParserException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ParserException.DEFErrorBadCONDName, ParserException.DEFErrorBadCUTFunction, ParserException.DEFErrorBadDepth, ParserException.DEFErrorBadDepthVersusCOND, ParserException.DEFErrorCardinalityCRequired, ParserException.DEFErrorCardinalityMORequired, ParserException.DEFErrorDuplicateCOND, ParserException.DEFErrorExpectedEND, ParserException.DEFErrorExtraChars, ParserException.DEFErrorInvalidEndOfDataDEF, ParserException.DEFErrorInvalidRegex, ParserException.DEFErrorInvalidSetting, ParserException.DEFErrorInvalidSyntax, ParserException.DEFErrorMissingCapturingGroup, ParserException.DEFErrorMissingChild, ParserException.DEFErrorMSGatDepth0, ParserException.DEFErrorMSGisM11ACC1, ParserException.DEFErrorNOTAGNotAllowed, ParserException.DEFErrorNOTAGwithNamespace, ParserException.DEFErrorOverDepth, ParserException.DEFErrorUnexpectedEOF, ParserException.DEFErrorWhatElement, ParserException.ParserCONDError, ParserException.ParserDataError, ParserException.ParserDataOverSized, ParserException.ParserDataUnderSized, ParserException.ParserErrorDepthBelowCOND, ParserException.ParserErrorOccBelowMin, ParserException.ParserErrorOccOverMax, ParserException.ParserExceededAllExceptions, ParserException.ParserExceededFATALExceptions, ParserException.ParserFailedCOND, ParserException.ParserHasNothingToMatch, ParserException.ParserInputNotExhausted, ParserException.ParserInternalError, ParserException.ParserInternalErrorEmptyDEF, ParserException.ParserInvalidValue, ParserException.ParserLicenceWarning, ParserException.ParserMessageIdentificationFailure, ParserException.ParserMissingMandatoryElt, ParserException.ParserMissingMandatoryGroup, ParserException.ParserMissingMandatorySeg, ParserException.ParserNoMatchingDef, ParserException.ParserNoMsgEletsFound, ParserException.ParserNowBacktracking, ParserException.ParserPrematureEndOfData, ParserException.ParserTryingToSkip, ParserException.ParserUnableTo

public class ParserException
extends FormattedException

Multilingual Parser error messages. See com.reverseXSL.exception.messages.properties for the default english-language messages.

See Also:
Serialized Form

Nested Class Summary
static class ParserException.DEFErrorBadCONDName
          D024 DEF file error!
static class ParserException.DEFErrorBadCUTFunction
          D021 DEF file error!
static class ParserException.DEFErrorBadDepth
          D005 DEF file error!
static class ParserException.DEFErrorBadDepthVersusCOND
          D027 DEF file error!
static class ParserException.DEFErrorCardinalityCRequired
          D011 DEF file error!
static class ParserException.DEFErrorCardinalityMORequired
          D012 DEF file error!
static class ParserException.DEFErrorDuplicateCOND
          D013 DEF file error!
static class ParserException.DEFErrorExpectedEND
          D014 DEF file error!
static class ParserException.DEFErrorExtraChars
          D002 DEF file error!
static class ParserException.DEFErrorInvalidEndOfDataDEF
          D036 DEF file error!
static class ParserException.DEFErrorInvalidRegex
          D037 DEF file error!
static class ParserException.DEFErrorInvalidSetting
          D039 DEF file error!
static class ParserException.DEFErrorInvalidSyntax
          D001 DEF file error!
static class ParserException.DEFErrorMissingCapturingGroup
          D009 DEF file error!
static class ParserException.DEFErrorMissingChild
          D004 DEF file error!
static class ParserException.DEFErrorMSGatDepth0
          D023 DEF file error!
static class ParserException.DEFErrorMSGisM11ACC1
          D022 DEF file error!
static class ParserException.DEFErrorNOTAGNotAllowed
          D010 DEF file error!
static class ParserException.DEFErrorNOTAGwithNamespace
          D038 DEF file error!
static class ParserException.DEFErrorOverDepth
          D003 DEF file error!
static class ParserException.DEFErrorUnexpectedEOF
          D007 DEF file error!
static class ParserException.DEFErrorWhatElement
          D006 DEF file error!
static class ParserException.ParserCONDError
          P026 Parsing error about condition [{0}]({1}), context [{2}] at L:{3} O:{4}, impact [{5}].
static class ParserException.ParserDataError
          P013 Parsing error about element <{0}>({1}), context [{2}] at L:{3} O:{4}, impact [{5}].
static class ParserException.ParserDataOverSized
          P023 Data element value [{1}] is over maximum size of [{0}].
static class ParserException.ParserDataUnderSized
          P022 Data element value [{1}] is under minimum size of [{0}].
static class ParserException.ParserErrorDepthBelowCOND
          P016 Named Condition Tokens were collected at a smaller depth than the depth scope of COND [{0}].
static class ParserException.ParserErrorOccBelowMin
          P018 Found [{0}] element occurences below required minimum [{1}].
static class ParserException.ParserErrorOccOverMax
          P019 Found [{0}] element occurences over expected maximum [{1}].
static class ParserException.ParserExceededAllExceptions
          P015 Parsing Exceeded [{0}] overall exceptions threshold.
static class ParserException.ParserExceededFATALExceptions
          P014 Parsing Exceeded [{0}] FATAL exceptions threshold.
static class ParserException.ParserFailedCOND
          P017 Named CONDition [{0}] failed!
static class ParserException.ParserHasNothingToMatch
          Most of the following exceptions share a fixed set or arguments describing the source of the problem with the reference to the impacted item.
static class ParserException.ParserInputNotExhausted
          P012 Data [{0}] left in input after end of matching the message definition.
static class ParserException.ParserInternalError
          P001 Parser internal error!
static class ParserException.ParserInternalErrorEmptyDEF
          P025 Parser internal error!
static class ParserException.ParserInvalidValue
          P005 Data value invalid versus [{0}]!
static class ParserException.ParserLicenceWarning
          P027 WARNING!
static class ParserException.ParserMessageIdentificationFailure
          P011 Failed identification of the whole message!
static class ParserException.ParserMissingMandatoryElt
          P006 Missing mandatory data element [{0}]!
static class ParserException.ParserMissingMandatoryGroup
          P008 Missing mandatory group [{0}]!
static class ParserException.ParserMissingMandatorySeg
          P007 Missing mandatory segment [{0}]!
static class ParserException.ParserNoMatchingDef
          P010 Unexpected Data found!
static class ParserException.ParserNoMsgEletsFound
          P003 The parser failed to match any of the constituent elements of the message itself!
static class ParserException.ParserNowBacktracking
          P020 Failed [{0}] times to match mandatory elements, now backtracking!
static class ParserException.ParserPrematureEndOfData
          P009 End of data while still having this mandatory element [{0}] to match.
static class ParserException.ParserTryingToSkip
          P024 Unexpected Data found!
static class ParserException.ParserUnableTo
          P004 Parser is unable to [{0}]!
 
Method Summary
 void adjustLineOffset(int adjustment)
           
 
Methods inherited from class com.reverseXSL.exception.FormattedException
getCause, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

adjustLineOffset

public void adjustLineOffset(int adjustment)