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
public class InvalidOptionsException extends InvalidServiceUsageException
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:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description 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(String msg)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 Detail
- 
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
public InvalidOptionsException(String msg)
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.
 
 - 
 
 -