/[classpath]/classpath/javax/net/ssl/SSLContext.java
ViewVC logotype

Diff of /classpath/javax/net/ssl/SSLContext.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.2 by gnu_andrew, Sat Jan 15 17:02:18 2005 UTC revision 1.2.2.3 by gnu_andrew, Sat Feb 19 10:50:48 2005 UTC
# Line 140  public class SSLContext Line 140  public class SSLContext
140    {    {
141      if (provider == null)      if (provider == null)
142        {        {
143          throw new IllegalArgumentException();          throw new IllegalArgumentException("null provider");
144        }        }
145      Provider p = Security.getProvider(provider);      Provider p = Security.getProvider(provider);
146      if (p == null)      if (p == null)
# Line 174  public class SSLContext Line 174  public class SSLContext
174        }        }
175      catch (InvocationTargetException ite)      catch (InvocationTargetException ite)
176        {        {
177          ite.printStackTrace();          NoSuchAlgorithmException nsae = new NoSuchAlgorithmException(protocol);
178          throw new NoSuchAlgorithmException();          throw (NoSuchAlgorithmException) nsae.initCause(ite);
179        }        }
180      catch (ClassCastException cce)      catch (ClassCastException cce)
181        {        {
182          cce.printStackTrace();          NoSuchAlgorithmException nsae = new NoSuchAlgorithmException(protocol);
183          throw new NoSuchAlgorithmException();          throw (NoSuchAlgorithmException) nsae.initCause(cce);
184        }        }
185    }    }
186    

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.2.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26