001 package org.odmg; 002 003 004 005 /** 006 007 * This is the base class for all exceptions thrown by an ODMG implementation. 008 009 * @author David Jordan (as Java Editor of the Object Data Management Group) 010 011 * @version ODMG 3.0 012 013 */ 014 015 016 017 public class ODMGException extends Exception 018 019 { 020 021 /** 022 023 * Construct an <code>ODMGException</code> object without an error message. 024 025 */ 026 027 public ODMGException() 028 029 { 030 031 super(); 032 033 } 034 035 036 037 /** 038 039 * Construct an <code>ODMGException</code> object with an error message. 040 041 * @param msg The error message associated with this exception. 042 043 */ 044 045 046 047 public ODMGException(String msg) 048 049 { 050 051 super(msg); 052 053 } 054 055 } 056