Class NonAllowedSessionTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NonAllowedSessionTypeException
    extends java.lang.IllegalStateException
    Thrown when attempting to read or write a type to a session that is not allowed.
    Since:
    1.9
    See Also:
    SessionTypeFilter, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String className
      The type that was not allowed.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • className

        public final java.lang.String className
        The type that was not allowed.
    • Constructor Detail

      • NonAllowedSessionTypeException

        public NonAllowedSessionTypeException​(java.lang.String className)
        Constructor.
        Parameters:
        className - the non allowed type.