KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > agent > AgentException


1 package com.sslexplorer.agent;
2
3 import com.sslexplorer.boot.HttpConstants;
4
5 public class AgentException extends Exception JavaDoc {
6
7     int status = HttpConstants.RESP_403_FORBIDDEN;
8
9     public AgentException(String JavaDoc message) {
10         super(message);
11     }
12     
13     public AgentException(String JavaDoc message, int status) {
14         super(message);
15         this.status = status;
16     }
17
18     public int getStatus() {
19         return status;
20     }
21
22 }
23
Popular Tags