include logger.Logger

GitException(){
	curBranchException(){
		action=${1}
		branch=${2}

		MessageBuilder logErrorMsg cannot-${action}-${branch}-because-${branch}-is-the-current-branch.
	}

	existingBranchException(){
		action=${1}
		branch=${2}

		MessageBuilder logErrorMsg cannot-${action}-${branch}-because-${branch}-already-exists.
	}

	$@
}
include logger.Logger

GitException(){
	curBranchException(){
		action=${1}
		branch=${2}

		Logger logErrorMsg cannot-${action}-${branch}-because-${branch}-is-the-current-branch.
	}

	existingBranchException(){
		action=${1}
		branch=${2}

		Logger logErrorMsg cannot-${action}-${branch}-because-${branch}-already-exists.
	}

	$@
}
Use Logger in lieu of MessageBuilder
Use Logger in lieu of MessageBuilder
