com.oanda.fxtrade.api
Class InvalidLimitsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.oanda.fxtrade.api.OAException
              extended by com.oanda.fxtrade.api.OrderException
                  extended by com.oanda.fxtrade.api.InvalidLimitsException
All Implemented Interfaces:
java.io.Serializable

public class InvalidLimitsException
extends OrderException

See Also:
Serialized Form

Constructor Summary
InvalidLimitsException()
           
InvalidLimitsException(java.lang.String s)
           
InvalidLimitsException(java.lang.String s, double currentPrice, double requestedPrice)
           
 
Method Summary
 double getCurrentPrice()
           
 double getRequestedPrice()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidLimitsException

public InvalidLimitsException()

InvalidLimitsException

public InvalidLimitsException(java.lang.String s)

InvalidLimitsException

public InvalidLimitsException(java.lang.String s,
                              double currentPrice,
                              double requestedPrice)
Method Detail

getCurrentPrice

public double getCurrentPrice()

getRequestedPrice

public double getRequestedPrice()


Copyright © 2005 OANDA Corporation. All Rights Reserved.