private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException {
   short version = ois.readShort();
   switch (version) {
     case VERSION:
       setUpPropertyEvents();
       break;
     default:
       throw new IOException("Unsupported Serialized Version: " + version);
   }
 }
Exemplo n.º 2
0
 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException {
   // Default state initialization happens here
   ois.defaultReadObject();
   // Initialization of transient Res Bundle happens here .
   try {
     resBundle = JdbcRowSetResourceBundle.getJdbcRowSetResourceBundle();
   } catch (IOException ioe) {
     throw new RuntimeException(ioe);
   }
 }