/********************************************************************
* API for Servlets and SignatureGenerators in RAP
*  enabling extensible behaviors for RAP Digital Objects
* RAP - Repository Access Protocol
********************************************************************/
package ServletAPI;

/**
 * The ServletAPIException class extends the java
 * Exception class and is used by Servlets and SignatureGenerators to
 * report errors encountered while these objects are being
 * instantiated or executed.
 *
 * @author Christophe Blanchi
 * @author Sandy Payette
 * @author Naomi Dushay
 **/
public class ServletAPIException extends Exception
{
    int status = 0;

    public ServletAPIException(int status, String ExceptionMessage)
    {
        super(ExceptionMessage);
        this.status = status;
    }

    public int getStatus()
    {
        return status;
    }
}