throw new SignetRuntimeException( "A PrivilegedSubject in the Signet database refers to a Subject" + " whose SubjectTypeAdapter is implemented by the class named '" + name + "'. This class is in Signet's classpath, and it does provide" + " a default, parameterless constructor, but Signet did not succeed" + " in invoking that constructor.", e);
throw new SignetRuntimeException ("A PrivilegedSubject in the Signet database refers to a Subject" + " whose SubjectTypeAdapter is implemented by the class named '" + name + "'. This class is in Signet's classpath, but Signet did not" + " succeed in invoking its default constructor.", e);
  void setAdapterClassName(String name)  {    Class clazz = null;    try    {      clazz = Class.forName(name);    }    catch (ClassNotFoundException cnfe)    {      throw new SignetRuntimeException(          "A PrivilegedSubject in the Signet database refers to a Subject"              + " whose SubjectTypeAdapter is implemented by the class named '"              + name + "'. This class cannot be found in Signet's classpath.",          cnfe);    }    Class[] noParams = new Class[0];    Constructor constructor;    try    {      constructor = clazz.getConstructor(noParams);    }    catch (NoSuchMethodException nsme)    {      throw new SignetRuntimeException(          "A PrivilegedSubject in the Signet database refers to a Subject"              + " whose SubjectTypeAdapter is implemented by the class named '"              + name              + "'. This class is in Signet's classpath, but it does not provide"              + " a default, parameterless constructor.", nsme);    }    try    {      this.adapter = (SubjectTypeAdapter) (constructor.newInstance(noParams));    }    catch (Exception e)    {      throw new SignetRuntimeException(          "A PrivilegedSubject in the Signet database refers to a Subject"              + " whose SubjectTypeAdapter is implemented by the class named '"              + name              + "'. This class is in Signet's classpath, and it does provide"              + " a default, parameterless constructor, but Signet did not succeed"              + " in invoking that constructor.", e);    }    if (this.adapter instanceof SubjectTypeAdapterImpl)    {      ((SubjectTypeAdapterImpl) (this.adapter)).setSignet(this.getSignet());    }  }