throw new IllegalArgumentException();
throw new IllegalArgumentException(titlePosition + " is not a valid title position.");
  public void setTitlePosition(int titlePosition)  {    if ((titlePosition < DEFAULT_POSITION) || (titlePosition > BELOW_BOTTOM))      throw new IllegalArgumentException();    // Swing borders are not JavaBeans, thus no need to fire an event.    this.titlePosition = titlePosition;  }