me.mjolnir.mineconomy.exceptions
Interface MCException

All Known Implementing Classes:
AccountNameConflictException, BankNameConflictException, DivideByZeroException, FormatException, InsufficientFundsException, MaxDebtException, NaturalNumberException, NoAccountException, NoBankException, NoCurrencyException, NoCurrencyIdException

public interface MCException

Interface for standard MineConomy Exceptions.

Author:
MjolnirCommando

Method Summary
 java.lang.Exception getError()
          Returns the exception.
 java.lang.String getErrorDescription()
          Returns the description of the exception.
 java.lang.String getMethodCause()
          Returns the method that caused the exception.
 java.lang.String getVariableCause()
          Returns the variable that caused the exception.
 

Method Detail

getMethodCause

java.lang.String getMethodCause()
Returns the method that caused the exception.

Returns:
The method that caused the exception.

getVariableCause

java.lang.String getVariableCause()
Returns the variable that caused the exception.

Returns:
The variable that caused the exception.

getErrorDescription

java.lang.String getErrorDescription()
Returns the description of the exception.

Returns:
A description of the exception.

getError

java.lang.Exception getError()
Returns the exception.

Returns:
Exception