class BranchDelegator extends BaseDelegator implements IBranchDelegator {

    @Override
    public String deleteBranchSpec(final String branchSpecName, final boolean force)
            throws ConnectionException, RequestException, AccessException {

        try {
            return deleteBranchSpec(branchSpecName, new DeleteBranchSpecOptions(force));
        } catch (final ConnectionException | AccessException | RequestException exc) {
            throw exc;
        } catch (P4JavaException exc) {
            throw new RequestException(exc.getMessage(), exc);
        }
    }

    public  BranchDelegator(IOptionsServer server);

}