/[classpath]/classpath/gnu/classpath/jdwp/id/ReferenceTypeId.java
ViewVC logotype

Diff of /classpath/gnu/classpath/jdwp/id/ReferenceTypeId.java

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

revision 1.2.2.1 by gnu_andrew, Tue Aug 2 20:12:08 2005 UTC revision 1.2.2.2 by gnu_andrew, Sat Sep 10 15:31:36 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39    
40  package gnu.classpath.jdwp.id;  package gnu.classpath.jdwp.id;
41    
42    import gnu.classpath.jdwp.exception.InvalidClassException;
43    
44  import java.io.DataOutputStream;  import java.io.DataOutputStream;
45  import java.io.IOException;  import java.io.IOException;
46    
# Line 68  public class ReferenceTypeId Line 70  public class ReferenceTypeId
70    }    }
71    
72    /**    /**
73       * Gets the class associated with this ID
74       *
75       * @returns the class
76       * @throws InvalidClassException if the class is not valid
77       */
78      public Class getType ()
79        throws InvalidClassException
80      {
81        Class clazz = (Class) _reference.get ();
82        if (clazz == null)
83          throw new InvalidClassException (_id);
84    
85        return clazz;
86      }
87    
88      /**
89     * Outputs the reference type ID to the given output stream     * Outputs the reference type ID to the given output stream
90     *     *
91     * @param  outStream    the stream to which to write the data     * @param  outStream    the stream to which to write the data

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

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