Class EconomyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
me.lokka30.treasury.api.common.response.TreasuryException
me.lokka30.treasury.api.economy.response.EconomyException
- All Implemented Interfaces:
- Serializable
An exception for economic problems.
 
For performance reasons, this exception does not fill in the stack trace.
- Since:
- v1.0.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionEconomyException(@NotNull FailureReason reason) Construct a newEconomyException.EconomyException(@NotNull FailureReason reason, @NotNull String message) Construct a newEconomyException.EconomyException(@NotNull FailureReason reason, @NotNull String message, @Nullable Throwable cause) Construct a newEconomyException.EconomyException(@NotNull FailureReason reason, @NotNull Throwable cause) Construct a newEconomyException.
- 
Method SummaryMethods inherited from class me.lokka30.treasury.api.common.response.TreasuryExceptiongetMessage, getReasonMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
EconomyExceptionConstruct a newEconomyException.- Parameters:
- reason- the- FailureReasonrepresenting the reason for failure
- Since:
- v1.0.0
 
- 
EconomyExceptionConstruct a newEconomyException.- Parameters:
- reason- the- FailureReasonrepresenting the reason for failure
- message- a more detailed description of the problem
- Since:
- v1.0.0
 
- 
EconomyExceptionConstruct a newEconomyException.- Parameters:
- reason- the- FailureReasonrepresenting the reason for failure
- cause- the- Throwablerepresenting or causing the problem
- Since:
- v1.0.0
 
- 
EconomyExceptionpublic EconomyException(@NotNull @NotNull FailureReason reason, @NotNull @NotNull String message, @Nullable @Nullable Throwable cause) Construct a newEconomyException.- Parameters:
- reason- the- FailureReasonrepresenting the reason for failure
- message- a more detailed description of the problem
- cause- the- Throwablerepresenting or causing the problem
- Since:
- v1.0.0
 
 
-