Package org.bedework.timezones.common
Class TzException
java.lang.Object
java.lang.Throwable
org.bedework.timezones.common.TzException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DbEmptyException,DbStaleStateException
Base exception thrown by tz classes
- Author:
- Mike Douglass douglm rpi.edu
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTzException(int st) ConstructorTzException(int st, String msg) ConstructorTzException(int st, QName errorTag) ConstructorTzException(int st, QName errorTag, String msg) ConstructorConstructorConstructor -
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
-
Constructor Details
-
TzException
Constructor- Parameters:
s-
-
TzException
Constructor- Parameters:
t-
-
TzException
public TzException(int st) Constructor- Parameters:
st-
-
TzException
Constructor- Parameters:
st-msg-
-
TzException
Constructor- Parameters:
st-errorTag-
-
TzException
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
-