Package tigase.component.adhoc
Class AdHocCommandException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- tigase.component.adhoc.AdHocCommandException
-
- All Implemented Interfaces:
Serializable
public class AdHocCommandException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdHocCommandException(Element item, Authorization errorCondition)AdHocCommandException(Element item, Authorization errorCondition, String message)AdHocCommandException(Authorization errorCondition)AdHocCommandException(Authorization errorCondition, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()AuthorizationgetErrorCondition()ElementgetItem()StringgetMessage()StringgetName()StringgetType()ElementmakeElement()ElementmakeElement(boolean insertOriginal)ElementmakeElement(Element sourceElement)ElementmakeErrorElement()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AdHocCommandException
public AdHocCommandException(Authorization errorCondition)
-
AdHocCommandException
public AdHocCommandException(Authorization errorCondition, String message)
-
AdHocCommandException
public AdHocCommandException(Element item, Authorization errorCondition)
-
AdHocCommandException
public AdHocCommandException(Element item, Authorization errorCondition, String message)
-
-
Method Detail
-
getCode
public String getCode()
- Returns:
- Returns the code.
-
getErrorCondition
public Authorization getErrorCondition()
-
getItem
public Element getItem()
- Returns:
- Returns the item.
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getName
public String getName()
- Returns:
- Returns the name.
-
getType
public String getType()
- Returns:
- Returns the type.
-
makeElement
public Element makeElement()
-
makeElement
public Element makeElement(boolean insertOriginal)
-
makeErrorElement
public Element makeErrorElement()
-
-