org.apache.commons.httpclient

Class HttpClientError

Implemented Interfaces:
Serializable

public class HttpClientError
extends Error

Signals that an error has occurred.
Since:
3.0
See Also:
Serialized Form

Constructor Summary

HttpClientError()
Creates a new HttpClientError with a null detail message.
HttpClientError(String message)
Creates a new HttpClientError with the specified detail message.

Method Summary

Methods inherited from class java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

HttpClientError

public HttpClientError()
Creates a new HttpClientError with a null detail message.

HttpClientError

public HttpClientError(String message)
Creates a new HttpClientError with the specified detail message.
Parameters:
message - The error message
Usages and Demos :

View More Examples of HttpClientError(String message)
   1:         } catch (Exception e) {
   2:             throw new HttpClientError(e.toString());
   3:         }
   4:     }

View Full Code Here
   1:             LOG.error(e.getMessage(), e);
   2:             throw new HttpClientError(e.toString());
   3:         }
   4:     }

View Full Code Here