org.datanucleus.store.rdbms.exceptions
Class ViewDefinitionException

java.lang.Object
  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 org.datanucleus.store.rdbms.exceptions.ViewDefinitionException
All Implemented Interfaces:
java.io.Serializable

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.

Version:
$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

LOCALISER

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

ViewDefinitionException

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

Parameters:
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.