|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.mjolnir.mineconomy.exceptions.NaturalNumberException
public class NaturalNumberException
Thrown when a specified number can not be negative or zero.
Constructor Summary | |
---|---|
NaturalNumberException(java.lang.String method,
java.lang.String variable)
Creates new NaturalNumberException. |
Method Summary | |
---|---|
NaturalNumberException |
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. |
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 |
---|
public NaturalNumberException(java.lang.String method, java.lang.String variable)
method
- variable
- Method Detail |
---|
public java.lang.String getMethodCause()
MCException
getMethodCause
in interface MCException
public java.lang.String getVariableCause()
MCException
getVariableCause
in interface MCException
public java.lang.String getErrorDescription()
MCException
getErrorDescription
in interface MCException
public NaturalNumberException getError()
MCException
getError
in interface MCException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |