com.epam.mdp.full.error
Class FastException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.epam.mdp.full.error.FastException
All Implemented Interfaces:
java.io.Serializable

public class FastException
extends java.lang.RuntimeException

Runtime exception for FAST(FIX Adapted for Streaming) module.

Author:
Serhiy_Zahriychuk Date: Nov 4, 2008
See Also:
Serialized Form

Constructor Summary
FastException(FastError fastError, java.lang.String description)
          Construct a FastException with the specified detail message and nested exception.
FastException(java.lang.Throwable cause)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDescription()
          Method getFastError returns the validationError of this FastException object.
 FastError getFastError()
          Method getFastError returns the fast error of this FastException object.
 java.lang.Throwable getRootCause()
          Retrieve the innermost cause of this exception, if any.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FastException

public FastException(FastError fastError,
                     java.lang.String description)
Construct a FastException with the specified detail message and nested exception.

Parameters:
description - the string that describe the problem
fastError - the nested exception

FastException

public FastException(java.lang.Throwable cause)
Method Detail

getRootCause

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

Returns:
the innermost exception, or null if none

getDescription

public java.lang.String getDescription()
Method getFastError returns the validationError of this FastException object.

Returns:
the fastError (type String) of this FastException object.

getFastError

public FastError getFastError()
Method getFastError returns the fast error of this FastException object.

Returns:
the fastError.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


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