|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
eteg.sinon.exception.SinonException
eteg.sinon.exception.UnsuccesfulPageDownloadException
public class UnsuccesfulPageDownloadException
Exceção levantada quando não se consegue fazer o download de uma página com sucesso. A resposta HTTP é um inteiro retornado pelo servidor como resposta a uma requisição. Esta página contém uma descrição das respostas mais freqüentes. O valor -1 pode ser retornado. Isto é uma indicação de erro no uso do HttpClient, componente utilizado para fazer o download de páginas Web.
| Constructor Summary | |
|---|---|
UnsuccesfulPageDownloadException(java.lang.String message,
int httpResponse,
CollectorExecutor executor)
|
|
| Method Summary | |
|---|---|
int |
getHttpResponse()
Retorna a resposta HTTP. |
| Methods inherited from class eteg.sinon.exception.SinonException |
|---|
getCollectorExecutor |
| 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnsuccesfulPageDownloadException(java.lang.String message,
int httpResponse,
CollectorExecutor executor)
| Method Detail |
|---|
public int getHttpResponse()
int contendo a resposta HTTP.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||