class BranchDelegator extends BaseDelegator implements IBranchDelegator {

    @Override
    public IBranchSpec getBranchSpec(final String name)
            throws ConnectionException, RequestException, AccessException {
        try {
            return getBranchSpec(name, new GetBranchSpecOptions());
        } catch (final ConnectionException | AccessException | RequestException exc) {
            throw exc;
        } catch (P4JavaException exc) {
            throw new RequestException(exc.getMessage(), exc);
        }
    }

    public  BranchDelegator(IOptionsServer server);

}