code: private static void checkTypefaceStyleThrowing(int style) {
  		switch (style) {
  		case Typeface.NORMAL:
  		case Typeface.BOLD:
  		case Typeface.ITALIC:
  		case Typeface.BOLD_ITALIC:
  			break;
  		default:
  			throw new IllegalArgumentException("Style have to be in (Typeface.NORMAL, Typeface.BOLD, Typeface.ITALIC, Typeface.BOLD_ITALIC)");
  		}
  	}
docs: Check if typeface style int is one of:
  <ul>
  <li>{@link android.graphics.Typeface#NORMAL}</li>
  <li>{@link android.graphics.Typeface#BOLD}</li>
  <li>{@link android.graphics.Typeface#ITALIC}</li>
  <li>{@link android.graphics.Typeface#BOLD_ITALIC}</li>
  </ul>
  @param style