org.starhope.appius.except
Class NonSufficientFundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.starhope.appius.except.NonSufficientFundsException
- All Implemented Interfaces:
- Serializable
public class NonSufficientFundsException
- extends Exception
This exception may be thrown for a purchase attempt by a player who
does not have enough (in-game) currency to afford the item being
purchased.
This has nothing to do with actual real-world money.
- Author:
- brpocock
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
NonSufficientFundsException
public NonSufficientFundsException(BigDecimal difference)
- Parameters:
difference
- how much more currency is needed to make the
transaction work