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:
  • Constructor Details

    • NullInstanceException

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