/**
  * Sets an OnErrorListener for this instance of LoginButton to call into when certain exceptions
  * occur.
  *
  * @param onErrorListener The listener object to set
  */
 public void setOnErrorListener(OnErrorListener onErrorListener) {
   properties.setOnErrorListener(onErrorListener);
 }