1. /*
  2. * @(#)SerialException.java 1.4 04/03/11
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.sql.rowset.serial;
  8. import java.sql.SQLException;
  9. /**
  10. * Indicates and an error with the serialization or de-serialization of
  11. * SQL types such as <code>BLOB, CLOB, STRUCT or ARRAY</code> in
  12. * addition to SQL types such as <code>DATALINK and JAVAOBJECT</code>
  13. *
  14. * @version 0.1
  15. */
  16. public class SerialException extends java.sql.SQLException {
  17. /**
  18. * Creates a new <code>SerialException</code> without a
  19. * message.
  20. */
  21. public SerialException() {
  22. }
  23. /**
  24. * Creates a new <code>SerialException</code> with the
  25. * specified message.
  26. *
  27. * @param msg the detail message
  28. */
  29. public SerialException(String msg) {
  30. super(msg);
  31. }
  32. static final long serialVersionUID = -489794565168592690L;
  33. }