Class InvalidOptionsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.aristaflow.adept2.base.service.ADEPT2ServiceException
de.aristaflow.adept2.base.service.InvalidServiceUsageException
de.aristaflow.adept2.core.transactionmanager.InvalidOptionsException
- All Implemented Interfaces:
Serializable
This exception indicates that a transaction should be started for an object
that has already started a transaction but the existing transaction uses
looser options that the transaction to be started. For instance, the existing
transaction is read-only but a writable transaction is requested or the
existing transaction has a less restrictive ("smaller") isolation
level.
- Author:
- Ulrich Kreher
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception indicating that a transaction is requested with more restrictive options than an already existing transaction for the same object.Creates a new exception indicating that a transaction is requested with more restrictive options than an already existing transaction for the same object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidOptionsException
public InvalidOptionsException()Creates a new exception indicating that a transaction is requested with more restrictive options than an already existing transaction for the same object. -
InvalidOptionsException
Creates a new exception indicating that a transaction is requested with more restrictive options than an already existing transaction for the same object.- Parameters:
msg- A message providing more detailed information.
-