Package org.datanucleus.exceptions
Class NucleusFatalUserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.exceptions.NucleusFatalUserException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidMetaDataException
public class NucleusFatalUserException extends NucleusUserException
Exception thrown when a user error occurs and is fatal.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NucleusFatalUserException()Constructs a new exception without a detail message.NucleusFatalUserException(String msg)Constructs a new exception with the specified detail message.NucleusFatalUserException(String msg, Object failed)Constructs a new exception with the specified detail message and failed object.NucleusFatalUserException(String msg, Throwable nested)Constructs a new exception with the specified detail message and nestedThrowable.NucleusFatalUserException(String msg, Throwable[] nested)Constructs a new exception with the specified detail message and nestedThrowables.NucleusFatalUserException(String msg, Throwable[] nested, Object failed)Constructs a new exception with the specified detail message, nestedThrowables, and failed object.NucleusFatalUserException(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 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
-
NucleusFatalUserException
public NucleusFatalUserException()
Constructs a new exception without a detail message.
-
NucleusFatalUserException
public NucleusFatalUserException(String msg)
Constructs a new exception with the specified detail message.- Parameters:
msg- the detail message.
-
NucleusFatalUserException
public NucleusFatalUserException(String msg, Throwable[] nested)
Constructs a new exception with the specified detail message and nestedThrowables.- Parameters:
msg- the detail message.nested- the nestedThrowable[].
-
NucleusFatalUserException
public NucleusFatalUserException(String msg, Throwable nested)
Constructs a new exception with the specified detail message and nestedThrowable.- Parameters:
msg- the detail message.nested- the nestedThrowable.
-
NucleusFatalUserException
public NucleusFatalUserException(String msg, Object failed)
Constructs a new exception with the specified detail message and failed object.- Parameters:
msg- the detail message.failed- the failed object.
-
NucleusFatalUserException
public NucleusFatalUserException(String msg, Throwable[] nested, Object failed)
Constructs a new exception with the specified detail message, nestedThrowables, and failed object.- Parameters:
msg- the detail message.nested- the nestedThrowable[].failed- the failed object.
-
NucleusFatalUserException
public NucleusFatalUserException(String msg, Throwable nested, Object failed)
Constructs a new exception with the specified detail message, nestedThrowable, and failed object.- Parameters:
msg- the detail message.nested- the nestedThrowable.failed- the failed object.
-
-