Class SynchException
java.lang.Object
java.lang.Throwable
org.bedework.synch.shared.exception.SynchException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SynchBadRequest,SynchForbidden,SynchTimeout
Base exception thrown by exchange synch classes
- Author:
- Mike Douglass douglm@rpi.edu
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSynchException(int st) ConstructorSynchException(int st, String msg) ConstructorSynchException(int st, QName errorTag) ConstructorSynchException(int st, QName errorTag, String msg) ConstructorConstructorConstructorSynchException(QName errorTag) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the errorTagintGet the statusvoidsetStatusCode(int val) Set the statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
unknownCalendarItemType
-
connectorNotStarted
-
-
Constructor Details
-
SynchException
Constructor- Parameters:
s-
-
SynchException
Constructor- Parameters:
t-
-
SynchException
public SynchException(int st) Constructor- Parameters:
st-
-
SynchException
Constructor- Parameters:
st-msg-
-
SynchException
Constructor- Parameters:
errorTag-
-
SynchException
Constructor- Parameters:
st-errorTag-
-
SynchException
Constructor- Parameters:
st-errorTag-msg-
-
-
Method Details
-
setStatusCode
public void setStatusCode(int val) Set the status- Parameters:
val- int status
-
getStatusCode
public int getStatusCode()Get the status- Returns:
- int status
-
getErrorTag
Get the errorTag- Returns:
- QName
-