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:
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.- See Also:
ClassView
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description 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, setNestedException
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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.
-
-