Class StreamError

    • Constructor Detail

      • StreamError

        public StreamError​(Condition condition)
        Creates a stream error with only a condition.
        Parameters:
        condition - The non-null condition.
      • StreamError

        public StreamError​(Condition condition,
                           String text,
                           Locale language)
        Creates a stream error with a condition and a descriptive text.
        Parameters:
        condition - The non-null condition.
        text - The text.
        language - May be null, but it should be present.
      • StreamError

        public StreamError​(Condition condition,
                           Object extension)
        Creates a stream error with a condition, optional text and an extension.
        Parameters:
        condition - The non-null condition.
        extension - The application-specific error extension.
      • StreamError

        public StreamError​(Condition condition,
                           String text,
                           Locale language,
                           Object extension)
        Creates a stream error with a condition, optional text and an extension.
        Parameters:
        condition - The non-null condition.
        text - The text.
        language - May be null, but it should be present.
        extension - The application-specific error extension.