/[classpath]/classpath/java/io/ObjectInputStream.java
ViewVC logotype

Diff of /classpath/java/io/ObjectInputStream.java

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

revision 1.43 by mkoch, Thu Jul 22 09:00:26 2004 UTC revision 1.44 by mark, Thu Sep 9 18:20:55 2004 UTC
# Line 1788  public class ObjectInputStream extends I Line 1788  public class ObjectInputStream extends I
1788     */     */
1789    private static native ClassLoader currentClassLoader (SecurityManager sm);    private static native ClassLoader currentClassLoader (SecurityManager sm);
1790    
1791    private void callReadMethod (Method readObject, Class klass, Object obj) throws IOException    private void callReadMethod (Method readObject, Class klass, Object obj)
1792        throws ClassNotFoundException, IOException
1793    {    {
1794      try      try
1795        {        {
# Line 1802  public class ObjectInputStream extends I Line 1803  public class ObjectInputStream extends I
1803            throw (RuntimeException) exception;            throw (RuntimeException) exception;
1804          if (exception instanceof IOException)          if (exception instanceof IOException)
1805            throw (IOException) exception;            throw (IOException) exception;
1806            if (exception instanceof ClassNotFoundException)
1807              throw (ClassNotFoundException) exception;
1808    
1809          throw new IOException("Exception thrown from readObject() on " +          throw new IOException("Exception thrown from readObject() on " +
1810                                 klass + ": " + exception.getClass().getName());                                 klass + ": " + exception.getClass().getName());

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

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