public class CurrencyRateException extends PortalException
| Modifier and Type | Field and Description |
|---|---|
static int |
RATE_CANNOT_BE_PARSED |
static int |
RATE_NOT_FOUND
The reason that the exception was thrown.
|
| Constructor and Description |
|---|
CurrencyRateException(int srcCurrencyID,
int destCurrencyID,
Date transactionDate,
EBufException ebufExcptn,
int reasonCode)
Constructs an exception thrown by the CurrencyRateManager and
CurrencyRate classes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDestCurID()
Return the ID of the currency to convert to.
|
EBufException |
getEBufException()
Return the Portal exeption that was thrown when the
error was encountered.
|
int |
getReason()
Return the reason that the exception was thrown .
|
int |
getSrcCurI()
Return the ID of the currency to convert from.
|
Date |
getTransDate()
Return the time/date the conversion was applied.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int RATE_NOT_FOUND
public static final int RATE_CANNOT_BE_PARSED
public CurrencyRateException(int srcCurrencyID,
int destCurrencyID,
Date transactionDate,
EBufException ebufExcptn,
int reasonCode)
srcCurrencyID - The ID of the currency to convert from.destCurrencyID - The ID of the currency to convert to.transactionDate - The time/date the conversion was made.ebufExcptn - The Portal exeption that was thrown when the
error was encountered.reasonCode - The reason that the exception was thrown (rate
not found, rate data corrupt, etc.)public int getSrcCurI()
public int getDestCurID()
public Date getTransDate()
public EBufException getEBufException()
public int getReason()
Copyright © 2003, 2023, Oracle and/or its affiliates.