public Locale pop() throws Exception {
		Locale retVal = null;
		// Check for stack underflow.
		if (topPtr < CAPACITY) {
			retVal = arr[topPtr];
			topPtr = topPtr + 1;
		} else {
			// In case of underflow, return -1.
			// TODO: Throw an underflow exception.
			throw new Exception();

		}
		return retVal;
	}