Class NullInstanceException

  • All Implemented Interfaces:
    Serializable

    public class NullInstanceException
    extends WeldException
    This exception occurs in cases where an object instance was expected, but the reference was null. A typical example is with a producer method that is not allowed to return null.
    Author:
    David Allen
    See Also:
    Serialized Form
    • Constructor Detail

      • NullInstanceException

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