@Override public AMQException cloneForCurrentThread() { return new AMQConnectionException(getErrorCode(), getMessage(), _classId, _methodId, _methodRegistry, getCause()); } }
@Override public void performAction(final AMQPConnection_0_8Impl object) { AMQConnectionException e = new AMQConnectionException(cause, description, 0, 0, getMethodRegistry(), null); sendConnectionClose(0, e.getCloseFrame()); } };
public AMQFrame getCloseFrame() { return new AMQFrame(0, _methodRegistry.createConnectionCloseBody(getErrorCode(), AMQShortString.validValueOf(getMessage()), _classId, _methodId)); }