private void followingItem(T infix, int degree) throws ShouldNotBeHereException, BadNextValueException
	{
		switch(degree)
		{
			case 0:
				if(((String)infix).matches(OPERAND) || ((String)infix).matches(PARA1)) // no number or parenthesis
					{throw new BadNextValueException("Opening parenthesis or number following a number");}
				
				break;
			case 1:
				if(((String)infix).matches(OPERATOR)) // no operators
				{throw new BadNextValueException("Operator following Operator");}
			break;
			case 2:
				if(((String)infix).matches(PARA2)) // no )
					{throw new BadNextValueException(") following (");}
				break;
			default:
				throw new ShouldNotBeHereException();
		}
	}