Class ViewDefinitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.store.rdbms.exceptions.ViewDefinitionException
-
- All Implemented Interfaces:
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.- See Also:
ClassView
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewDefinitionException(String className, 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, setNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ViewDefinitionException
public ViewDefinitionException(String className, 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.
-
-