Class SynchException
- java.lang.Object
-
- java.lang.Throwable
-
- org.bedework.synch.shared.exception.SynchException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SynchBadRequest,SynchForbidden,SynchTimeout
public class SynchException extends Throwable
Base exception thrown by exchange synch classes- Author:
- Mike Douglass douglm@rpi.edu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringconnectorNotStartedstatic QNameunknownCalendarItemType
-
Constructor Summary
Constructors Constructor Description SynchException(int st)ConstructorSynchException(int st, String msg)ConstructorSynchException(int st, QName errorTag)ConstructorSynchException(int st, QName errorTag, String msg)ConstructorSynchException(String s)ConstructorSynchException(Throwable t)ConstructorSynchException(QName errorTag)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetErrorTag()Get the errorTagintgetStatusCode()Get the statusvoidsetStatusCode(int val)Set the status-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SynchException
public SynchException(String s)
Constructor- Parameters:
s-
-
SynchException
public SynchException(Throwable t)
Constructor- Parameters:
t-
-
SynchException
public SynchException(int st)
Constructor- Parameters:
st-
-
SynchException
public SynchException(int st, String msg)Constructor- Parameters:
st-msg-
-
SynchException
public SynchException(QName errorTag)
Constructor- Parameters:
errorTag-
-
SynchException
public SynchException(int st, QName errorTag)Constructor- Parameters:
st-errorTag-
-
-
Method Detail
-
setStatusCode
public void setStatusCode(int val)
Set the status- Parameters:
val- int status
-
getStatusCode
public int getStatusCode()
Get the status- Returns:
- int status
-
getErrorTag
public QName getErrorTag()
Get the errorTag- Returns:
- QName
-
-