|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.mud4j.ability.AbilityException
public class AbilityException
An exception that occurs related to an exceptional condition with an ability.
Constructor Summary | |
---|---|
AbilityException(Ability ability)
Create an ability exception that can be tracked to a particular ability. |
|
AbilityException(java.lang.String message,
Ability ability)
Creates an ability exception that can be tracked to a particular ability with a message. |
Method Summary | |
---|---|
Ability |
getAbility()
Return the ability. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbilityException(Ability ability)
ability
- Ability that throwed the exception.public AbilityException(java.lang.String message, Ability ability)
message
- Exception message for the exception.ability
- Ability that throwed the exception.Method Detail |
---|
public Ability getAbility()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |