if (exceptionClass.equals(AlreadyLockedException.class.getName())) {
String extraInfo = http.getHeaderField(ALREADY_LOCKED_HEADER);
throw new AlreadyLockedException(extraInfo);
}
LockFailureException lfe;
try {
Class clazz = Class.forName(exceptionClass);
lfe = (LockFailureException) clazz.newInstance();
} catch (Throwable t) {
lfe = new LockFailureException(exceptionClass + ", "
+ http.getResponseMessage());
}
throw lfe;
}
}