Class NovaErrorHandler
- java.lang.Object
 - 
- org.jclouds.openstack.nova.v2_0.handlers.NovaErrorHandler
 
 
- 
- All Implemented Interfaces:
 HttpErrorHandler
@Singleton public class NovaErrorHandler extends Object implements HttpErrorHandler
This will parse and set an appropriate exception on the command object. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Loggerloggerprotected OverLimitParseroverLimitParserprotected HeaderToRetryAfterExceptionretryAfterParser- 
Fields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description NovaErrorHandler(DateCodecFactory factory, OverLimitParser overLimitParser)in current format, retryAt has a value of2012-11-14T21:51:28UTC, which is an ISO-8601 seconds (not milliseconds) format.protectedNovaErrorHandler(HeaderToRetryAfterException retryAfterParser, OverLimitParser overLimitParser) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(HttpCommand command, HttpResponse response) 
 - 
 
- 
- 
Field Detail
- 
logger
protected Logger logger
 
- 
retryAfterParser
protected final HeaderToRetryAfterException retryAfterParser
 
- 
overLimitParser
protected final OverLimitParser overLimitParser
 
 - 
 
- 
Constructor Detail
- 
NovaErrorHandler
protected NovaErrorHandler(HeaderToRetryAfterException retryAfterParser, OverLimitParser overLimitParser)
 
- 
NovaErrorHandler
@Inject public NovaErrorHandler(DateCodecFactory factory, OverLimitParser overLimitParser)
in current format, retryAt has a value of2012-11-14T21:51:28UTC, which is an ISO-8601 seconds (not milliseconds) format. 
 - 
 
- 
Method Detail
- 
handleError
public void handleError(HttpCommand command, HttpResponse response)
- Specified by:
 handleErrorin interfaceHttpErrorHandler
 
 - 
 
 -