Uses of Class
org.tentackle.session.PersistenceException
-
Uses of PersistenceException in org.tentackle.session
Subclasses of PersistenceException in org.tentackle.sessionModifier and TypeClassDescriptionclassException thrown if the user is already logged in.
Usually for application servers that don't allow a user logged in more than once.classRuntime exception thrown for database constraint violations.classRMI servers should throw a LoginFailedException if authentication fails (or any other reason)classRuntime exception thrown if objects that should exist are not found in the database.classRuntime exception thrown for not-removables.classRuntime exception thrown if the session is already closed.classException thrown if client's and server's versions don't match.Methods in org.tentackle.session that return PersistenceExceptionModifier and TypeMethodDescriptionstatic PersistenceExceptionPersistenceException.extractPersistenceException(Throwable e) Extracts thePersistenceExceptionfrom an exception.Methods in org.tentackle.session with parameters of type PersistenceExceptionModifier and TypeMethodDescriptionvoidSessionUtilities.alignTemporaryExceptionStatus(PersistenceException exception) Sets the temporary flag according to the exception's root cause and the session.