public class HttpsRest extends HttpBaseRest {
private static final Logger LOG = LoggerFactory.getLogger(HttpsRest.class);
+ public static final String IOEXCEPTION = "IOException";
public void initHttpsRest() {
SslContextFactory sslContextFactory = new SslContextFactory();
try {
client.send(exchange);
} catch(IOException e) {
- LOG.error("IOException", e);
+ LOG.error(IOEXCEPTION, e);
}
try {
int exchangeState = exchange.waitForDone();
try {
client.send(exchange);
} catch(IOException e) {
- LOG.error("IOException", e);
+ LOG.error(IOEXCEPTION, e);
}
try {
try {
client.send(exchange);
} catch(IOException e) {
- LOG.error("IOException", e);
+ LOG.error(IOEXCEPTION, e);
}
try {