Package org.cyclos.model.access
Class InvalidChannelUsageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.FrameworkException
-
- org.cyclos.model.access.InvalidSessionDataException
-
- org.cyclos.model.access.InvalidChannelUsageException
-
- All Implemented Interfaces:
Serializable
public class InvalidChannelUsageException extends InvalidSessionDataException
Exception thrown when a user access to Cyclos through a channel in a way not supported by the channel. Examples are:- The user tries to invoke login service's login service method in a stateless-only channel
- The user tries to authenticate with user / password in a channel that is stateful-only (he can only login in such channels)
- The channel configuration doesn't allow guests, but a guest access is attempted
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidChannelUsageException()
-
Method Summary
-
Methods inherited from class org.cyclos.model.CyclosException
getMessage, shouldGenerateLog
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-