Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.model » [javadoc | source]
org.apache.jdo.model
public class: ModelFatalException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.apache.jdo.model.ModelFatalException

All Implemented Interfaces:
    Serializable

This exception indicates a fatal Model problem. Note this is an unchecked exception.
Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public ModelFatalException() 
 public ModelFatalException(String message) 
    Constructs a ModelFatalException with the specified detail message.
    Parameters:
    message - the detail message.
 public ModelFatalException(String message,
    Throwable cause) 
    Constructs a new ModelFatalException with the specified detail message and cause Exception.
    Parameters:
    message - the detail message.
    cause - the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method from org.apache.jdo.model.ModelFatalException Summary:
getCause,   getMessage,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   toString
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.model.ModelFatalException Detail:
 public Throwable getCause() 
    Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.)
 public String getMessage() 
    Returns the error message string of this throwable object.
 public Throwable initCause(Throwable cause) 
    Initializes the cause of this throwable to the specified value. (The cause is the throwable that caused this throwable to get thrown.)
 public  void printStackTrace() 
    Prints this ModelFatalException and its backtrace to the standard error output. Print cause Throwable's stack trace as well.
 public synchronized  void printStackTrace(PrintStream s) 
    Prints this ModelFatalException and its backtrace to the specified print stream. Print cause Throwable's stack trace as well.
 public  void printStackTrace(PrintWriter s) 
    Prints this ModelFatalException and its backtrace to the specified print writer. Print cause Throwable' stack trace as well.
 public synchronized String toString() 
    The String representation includes the name of the class, the descriptive comment (if any), and the String representation of the cause (if any).