All Packages Class Hierarchy This Package Previous Next Index
Class EDU.bmrb.net.HTTPException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----EDU.bmrb.net.HTTPException
- public class HTTPException
- extends Exception
Thrown when there is an error reported by the web server via
an HTTP status (example: 404 Not Found)
-
HTTPException(String)
-
-
getMessage()
- Returns the string status, for example: "HTTP/1.0 404 Not Found"
HTTPException
public HTTPException(String msgPassed)
- Parameters:
- msgPassed - the string returned by the server,
for example: "HTTP/1.0 400 Not Found"
getMessage
public String getMessage()
- Returns the string status, for example: "HTTP/1.0 404 Not Found"
- Returns:
- the string status, for example: "HTTP/1.0 404 Not Found"
- Overrides:
- getMessage in class Throwable
All Packages Class Hierarchy This Package Previous Next Index