1 7 8 package java.util; 9 10 import java.io.NotSerializableException ; 11 import java.io.IOException ; 12 13 28 29 public class InvalidPropertiesFormatException extends IOException { 30 37 public InvalidPropertiesFormatException(Throwable cause) { 38 super(cause==null ? null : cause.toString()); 39 this.initCause(cause); 40 } 41 42 49 public InvalidPropertiesFormatException(String message) { 50 super(message); 51 } 52 53 57 private void writeObject(java.io.ObjectOutputStream out) 58 throws NotSerializableException 59 { 60 throw new NotSerializableException ("Not serializable."); 61 } 62 63 67 private void readObject(java.io.ObjectInputStream in) 68 throws NotSerializableException 69 { 70 throw new NotSerializableException ("Not serializable."); 71 } 72 73 } 74 | Popular Tags |