try {
final int result = client.executeMethod(reservedCharactersMethod);
if (!checkResult(result))
{
throw new PublishException(1);
}
PublishUtil.setReservedChars(reservedCharactersMethod.getResponseBodyAsString());
}
catch (Exception e)
{
throw new RuntimeException(e);
}
try {
final int result = client.executeMethod(reservedCharactersDisplayMethod);
if (!checkResult(result))
{
throw new PublishException(1);
}
PublishUtil.setReservedCharsDisplay(reservedCharactersDisplayMethod.getResponseBodyAsString());
}
catch (Exception e)
{