Class 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:
  • 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

      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.