|
||||||||
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.jakubholy.jedit.autocomplete.ActionException
public class ActionException
Thrown when an error condition occures while a jEdit action is triggered. For example when the user tries to display the list of remembered words for a buffer that has no autocompletion attached to self. See actions.xml
Field Summary | |
---|---|
static int |
NOT_ATTACHED
Attempt to invoke an action that requires an autocomplete but no autocomplete is attached to the current buffer. |
static int |
UNSPECIFIED
No cause type given for this exception. |
Constructor Summary | |
---|---|
ActionException(int causeType)
|
|
ActionException(java.lang.String description)
|
Method Summary | |
---|---|
int |
getCauseType()
|
java.lang.String |
getDescription()
Description of the problem to display to the user. |
void |
setCauseType(int causeType)
The type of the exception - specifies the cause in more detail. |
void |
setDescription(java.lang.String description)
Set the description of the problem to display to the user. |
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 |
Field Detail |
---|
public static final int UNSPECIFIED
public static final int NOT_ATTACHED
Constructor Detail |
---|
public ActionException(java.lang.String description)
public ActionException(int causeType)
Method Detail |
---|
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public int getCauseType()
public void setCauseType(int causeType)
causeType
- See the constants of this class.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |