/**
  * Force phpcas to thow Exceptions instead of calling exit()
  * Needed for unit testing. Generally shouldn't be used in production
  * due to an increase in Apache error logging if CAS_GracefulTerminiationExceptions
  * are not caught and handled.
  */
 public static function throwInsteadOfExiting()
 {
     self::$exitWhenThrown = false;
 }