java_gen/pre-written: fix exceptions
diff --git a/java_gen/pre-written/src/main/java/org/openflow/types/IPv4.java b/java_gen/pre-written/src/main/java/org/openflow/types/IPv4.java
index aab6dc2..0583d6f 100644
--- a/java_gen/pre-written/src/main/java/org/openflow/types/IPv4.java
+++ b/java_gen/pre-written/src/main/java/org/openflow/types/IPv4.java
@@ -1,8 +1,6 @@
 package org.openflow.types;
 
 import org.jboss.netty.buffer.ChannelBuffer;
-import org.openflow.exceptions.OFParseError;
-import org.openflow.exceptions.OFShortRead;
 import org.openflow.protocol.OFObject;
 
 /**
@@ -84,7 +82,7 @@
         return LENGTH;
     }
 
-    public static IPv4 readFrom(final ChannelBuffer bb) throws OFParseError, OFShortRead {
+    public static IPv4 readFrom(final ChannelBuffer bb) {
         return IPv4.of(bb.readInt());
     }
 
diff --git a/java_gen/pre-written/src/main/java/org/openflow/types/IPv6.java b/java_gen/pre-written/src/main/java/org/openflow/types/IPv6.java
index f499eac..19002d9 100644
--- a/java_gen/pre-written/src/main/java/org/openflow/types/IPv6.java
+++ b/java_gen/pre-written/src/main/java/org/openflow/types/IPv6.java
@@ -4,7 +4,6 @@
 
 import org.jboss.netty.buffer.ChannelBuffer;
 import org.openflow.exceptions.OFParseError;
-import org.openflow.exceptions.OFShortRead;
 import org.openflow.protocol.OFObject;
 
 /**
@@ -160,7 +159,7 @@
         return LENGTH;
     }
 
-    public static IPv6 readFrom(final ChannelBuffer bb) throws OFParseError, OFShortRead {
+    public static IPv6 readFrom(final ChannelBuffer bb) throws OFParseError {
         return IPv6.of(bb.readLong(), bb.readLong());
     }