org.datanucleus.exceptions
Class NucleusUserException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ClassDefinitionException, ClassNotDetachableException, ClassNotPersistableException, ConnectionFactoryNotFoundException, DatastoreFieldDefinitionException, DatastoreInitialisationException, DatastoreReadOnlyException, IncompatibleFieldTypeException, IncompatibleQueryElementTypeException, InvalidAnnotationException, InvalidMetaDataException, NoDatastoreMappingException, NoExtentException, NoPersistenceInformationException, NoSuchPersistentFieldException, NoTableManagedException, NucleusUnsupportedOptionException, ObjectDetachedException, PropertyTypeInvalidException, QueryCompilerSyntaxException, QueryInvalidParametersException, QueryNotUniqueException, ReachableObjectNotCascadedException, TransactionActiveOnBeginException, TransactionActiveOnCloseException, TransactionIsolationNotSupportedException, TransactionNotActiveException, UnsupportedConnectionFactoryException

public class NucleusUserException
extends NucleusException

Exception thrown by JPOX when a user error occurs.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Constructor Summary
NucleusUserException()
          Constructs a new exception without a detail message.
NucleusUserException(java.lang.String msg)
          Constructs a new exception with the specified detail message.
NucleusUserException(java.lang.String msg, java.lang.Object failed)
          Constructs a new exception with the specified detail message and failed object.
NucleusUserException(java.lang.String msg, java.lang.Throwable nested)
          Constructs a new exception with the specified detail message and nested Throwable.
NucleusUserException(java.lang.String msg, java.lang.Throwable[] nested)
          Constructs a new exception with the specified detail message and nested Throwables.
NucleusUserException(java.lang.String msg, java.lang.Throwable[] nested, java.lang.Object failed)
          Constructs a new exception with the specified detail message, nested Throwables, and failed object.
NucleusUserException(java.lang.String msg, java.lang.Throwable nested, java.lang.Object failed)
          Constructs a new exception with the specified detail message, nested Throwable, and failed object.
 
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
 

Constructor Detail

NucleusUserException

public NucleusUserException()
Constructs a new exception without a detail message.


NucleusUserException

public NucleusUserException(java.lang.String msg)
Constructs a new exception with the specified detail message.

Parameters:
msg - the detail message.

NucleusUserException

public NucleusUserException(java.lang.String msg,
                            java.lang.Throwable[] nested)
Constructs a new exception with the specified detail message and nested Throwables.

Parameters:
msg - the detail message.
nested - the nested Throwable[].

NucleusUserException

public NucleusUserException(java.lang.String msg,
                            java.lang.Throwable nested)
Constructs a new exception with the specified detail message and nested Throwable.

Parameters:
msg - the detail message.
nested - the nested Throwable.

NucleusUserException

public NucleusUserException(java.lang.String msg,
                            java.lang.Object failed)
Constructs a new exception with the specified detail message and failed object.

Parameters:
msg - the detail message.
failed - the failed object.

NucleusUserException

public NucleusUserException(java.lang.String msg,
                            java.lang.Throwable[] nested,
                            java.lang.Object failed)
Constructs a new exception with the specified detail message, nested Throwables, and failed object.

Parameters:
msg - the detail message.
nested - the nested Throwable[].
failed - the failed object.

NucleusUserException

public NucleusUserException(java.lang.String msg,
                            java.lang.Throwable nested,
                            java.lang.Object failed)
Constructs a new exception with the specified detail message, nested Throwable, and failed object.

Parameters:
msg - the detail message.
nested - the nested Throwable.
failed - the failed object.


Copyright © 2011. All Rights Reserved.