Code example for SAXException

Methods: getMessage

0
  private void readObject(java.io.ObjectInputStream in)
                   throws IOException, ClassNotFoundException { 
    try { 
      e = DOMUtils.stringToDOM((String)in.readObject());
    } catch (SAXException e) {
      __log.error("De-serialization eror", e);
      throw new IOException(e.getMessage());
    } 
  } 
 
  /** 
   * Serialization routines. 
   * 
   * @see Serializable 
   */ 
  private void writeObject(java.io.ObjectOutputStream out)
                    throws IOException { 
    out.writeObject(DOMUtils.domToString(e));
  } 
}