com.epam.fix.validation.engine.exceptions
Class CommonValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.epam.fix.validation.engine.exceptions.CommonValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BlockDefinitionsException, ConditionParserException, MessageDefinitionsException, ValidationException

public class CommonValidationException
extends RuntimeException

Author:
Serhiy_Zahriychuk Date: Sep 9, 2008
See Also:
Serialized Form

Constructor Summary
CommonValidationException(FIXError validationError, Throwable cause)
          Construct a CommonFastValidatorExcaption with the specified detail message and nested exception.
 
Method Summary
 Throwable getRootCause()
          Retrieve the innermost cause of this exception, if any.
 FIXError getValidationError()
          Method getValidationError returns the validationError of this CommonFastValidatorException object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommonValidationException

public CommonValidationException(FIXError validationError,
                                 Throwable cause)
Construct a CommonFastValidatorExcaption with the specified detail message and nested exception.

Parameters:
validationError - instance that contains all problems
cause - the nested exception
Method Detail

getRootCause

public Throwable getRootCause()
Retrieve the innermost cause of this exception, if any.

Returns:
the innermost exception, or null if none

getValidationError

public FIXError getValidationError()
Method getValidationError returns the validationError of this CommonFastValidatorException object.

Returns:
the FIXError.


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.