Class ViewDefinitionException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by
All Implemented Interfaces:

public class ViewDefinitionException
extends org.datanucleus.exceptions.NucleusUserException

A ViewDefinitionException is thrown if the metadata extension(s) that define a view are missing or invalid.

$Revision: 1.2 $
See Also:
ClassView, Serialized Form

Field Summary
protected static org.datanucleus.util.Localiser LOCALISER
Constructor Summary
ViewDefinitionException(java.lang.String className, java.lang.String viewDef)
          Constructs a class definition exception with the specified detail message.
Method Summary
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


protected static final org.datanucleus.util.Localiser LOCALISER
Constructor Detail


public ViewDefinitionException(java.lang.String className,
                               java.lang.String viewDef)
Constructs a class definition exception with the specified detail message.

className - The class name for the class backed by a view.
viewDef - The string provided in the metadata defining the view.

Copyright © 2009. All Rights Reserved.