Class InvalidServiceUsageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.aristaflow.adept2.base.service.ADEPT2ServiceException
-
- de.aristaflow.adept2.base.service.InvalidServiceUsageException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidOptionsException
,TransactionFinishedException
,TransactionUnknownException
public class InvalidServiceUsageException extends ADEPT2ServiceException
This exception indicates that a service is being used in a wrong way. For instance this occurs when accessing a transaction that has already been closed.- Author:
- Ulrich Kreher
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InvalidServiceUsageException()
Creates a new exception indicating that a service is being used in a wrong way.InvalidServiceUsageException(String msg)
Creates a new exception indicating that a service is being used in a wrong way.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidServiceUsageException
protected InvalidServiceUsageException()
Creates a new exception indicating that a service is being used in a wrong way.
-
InvalidServiceUsageException
public InvalidServiceUsageException(String msg)
Creates a new exception indicating that a service is being used in a wrong way.- Parameters:
msg
- A message providing more detailed information on how the service is being used wrongly.
-
-