Package com.netscape.certsrv.base
Class PKIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.netscape.certsrv.base.PKIException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadRequestException,ConflictingOperationException,ForbiddenException,HTTPGoneException,ResourceNotFoundException,ServiceUnavailableException,UnauthorizedException
public class PKIException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPKIException.Data
-
Field Summary
Fields Modifier and Type Field Description intcode
-
Constructor Summary
Constructors Constructor Description PKIException(int code, java.lang.String message)PKIException(int code, java.lang.String message, java.lang.Throwable cause)PKIException(PKIException.Data data)PKIException(java.lang.String message)PKIException(java.lang.String message, java.lang.Throwable cause)PKIException(java.lang.Throwable cause)PKIException(javax.ws.rs.core.Response.Status status)PKIException(javax.ws.rs.core.Response.Status status, java.lang.String message)PKIException(javax.ws.rs.core.Response.Status status, java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()PKIException.DatagetData()static voidmain(java.lang.String[] args)voidsetCode(int code)
-
-
-
Constructor Detail
-
PKIException
public PKIException(int code, java.lang.String message, java.lang.Throwable cause)
-
PKIException
public PKIException(javax.ws.rs.core.Response.Status status)
-
PKIException
public PKIException(java.lang.String message)
-
PKIException
public PKIException(int code, java.lang.String message)
-
PKIException
public PKIException(javax.ws.rs.core.Response.Status status, java.lang.String message)
-
PKIException
public PKIException(java.lang.Throwable cause)
-
PKIException
public PKIException(java.lang.String message, java.lang.Throwable cause)
-
PKIException
public PKIException(javax.ws.rs.core.Response.Status status, java.lang.String message, java.lang.Throwable cause)
-
PKIException
public PKIException(PKIException.Data data)
-
-
Method Detail
-
getCode
public int getCode()
-
setCode
public void setCode(int code)
-
getData
public PKIException.Data getData()
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-