public class ComponentException extends Exception
| Constructor and Description |
|---|
ComponentException(Authorization errorCondition) |
ComponentException(Authorization errorCondition,
String text) |
ComponentException(Authorization errorCondition,
String text,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
Authorization |
getErrorCondition() |
protected String |
getErrorMessagePrefix() |
String |
getMessage() |
String |
getMessageWithPosition() |
String |
getName() |
String |
getText() |
String |
getType() |
Packet |
makeElement(Packet packet,
boolean insertOriginal) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ComponentException(Authorization errorCondition)
public ComponentException(Authorization errorCondition, String text)
errorCondition - text - human readable message will be send to clientpublic ComponentException(Authorization errorCondition, String text, String message)
errorCondition - message - exception message for loggingtext - human readable message will be send to clientpublic String getCode()
public Authorization getErrorCondition()
protected String getErrorMessagePrefix()
public String getMessage()
getMessage in class Throwablepublic String getMessageWithPosition()
public String getName()
public String getText()
public String getType()
public Packet makeElement(Packet packet, boolean insertOriginal) throws PacketErrorTypeException
PacketErrorTypeExceptionCopyright © 2015 "Tigase, Inc.". All rights reserved.