Class NucleusUserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClassNotDetachableException, ClassNotPersistableException, ConnectionFactoryNotFoundException, DatastoreInitialisationException, DatastoreReadOnlyException, IncompatibleFieldTypeException, InvalidAnnotationException, NoExtentException, NoPersistenceInformationException, NucleusFatalUserException, NucleusUnsupportedOptionException, ObjectDetachedException, PropertyTypeInvalidException, QueryCompilerSyntaxException, QueryInvalidParametersException, QueryNotUniqueException, ReachableObjectNotCascadedException, TransactionActiveOnBeginException, TransactionActiveOnCloseException, TransactionIsolationNotSupportedException, TransactionNotActiveException, UnsupportedConnectionFactoryException
Exception thrown when a user error occurs.
- See Also:
-
Field Summary
FieldsFields inherited from class NucleusException
failed, fatal, nested -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception without a detail message.Constructs a new exception with the specified detail message.NucleusUserException(String msg, Object failed) Constructs a new exception with the specified detail message and failed object.NucleusUserException(String msg, Throwable nested) Constructs a new exception with the specified detail message and nestedThrowable.NucleusUserException(String msg, Throwable[] nested) Constructs a new exception with the specified detail message and nestedThrowables.NucleusUserException(String msg, Throwable[] nested, Object failed) Constructs a new exception with the specified detail message, nestedThrowables, and failed object.NucleusUserException(String msg, Throwable nested, Object failed) Constructs a new exception with the specified detail message, nestedThrowable, and failed object. -
Method Summary
Methods inherited from class NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NucleusUserException
public NucleusUserException()Constructs a new exception without a detail message. -
NucleusUserException
Constructs a new exception with the specified detail message.- Parameters:
msg- the detail message.
-
NucleusUserException
-
NucleusUserException
-
NucleusUserException
-
NucleusUserException
-
NucleusUserException
-