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:
  • Constructor Details

    • AdHocCommandException

      public AdHocCommandException(Authorization errorCondition)
    • AdHocCommandException

      public AdHocCommandException(Authorization errorCondition, String message)
    • AdHocCommandException

      public AdHocCommandException(tigase.xml.Element item, Authorization errorCondition)
    • AdHocCommandException

      public AdHocCommandException(tigase.xml.Element item, Authorization errorCondition, String message)
  • Method Details

    • getCode

      public String getCode()
      Returns:
      Returns the code.
    • getErrorCondition

      public Authorization getErrorCondition()
    • getItem

      public tigase.xml.Element getItem()
      Returns:
      Returns the item.
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getName

      public String getName()
      Returns:
      Returns the name.
    • getType

      public String getType()
      Returns:
      Returns the type.
    • makeElement

      public tigase.xml.Element makeElement()
    • makeElement

      public tigase.xml.Element makeElement(boolean insertOriginal)
    • makeElement

      public tigase.xml.Element makeElement(tigase.xml.Element sourceElement)
    • makeErrorElement

      public tigase.xml.Element makeErrorElement()