Package org.cilogon.oauth2.servlet.util
Class DBServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.uiuc.ncsa.security.core.exceptions.GeneralException
-
- org.cilogon.oauth2.servlet.util.CILogonException
-
- org.cilogon.oauth2.servlet.util.DBServiceException
-
- All Implemented Interfaces:
Serializable
public class DBServiceException extends CILogonException
An exception that is thrown by the AbstractDBService. The message is one of the given status string which is taken and sent along to the client.Created by Jeff Gaynor
on Nov 19, 2010 at 3:05:03 PM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBServiceException()
DBServiceException(int message)
DBServiceException(String message)
DBServiceException(String message, Throwable cause)
DBServiceException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkMessage(int statusCode)
boolean
checkMessage(String x)
int
getStatusCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
checkMessage
public boolean checkMessage(String x)
-
checkMessage
public boolean checkMessage(int statusCode)
-
getStatusCode
public int getStatusCode()
-
-