Class UnserializableDependencyException

  • All Implemented Interfaces:
    Serializable

    public class UnserializableDependencyException
    extends DeploymentException
    Thrown if a simple bean is dependent scoped and injected into a stateful session bean, into a non-transient field, bean constructor parameter or initializer method parameter of a bean which declares a passivating scope, or into a parameter of a producer method which declares a passivating scope
    Author:
    Pete Muir
    See Also:
    Serialized Form
    • Constructor Detail

      • UnserializableDependencyException

        public UnserializableDependencyException​(Throwable throwable)
        Creates a new exception with the given cause.
        Parameters:
        throwable - The cause of the exception
      • UnserializableDependencyException

        public UnserializableDependencyException​(String message)
        Creates a new exception with the given localized message.
        Parameters:
        message -