Class IgniteSpiMultiException

    • Constructor Detail

      • IgniteSpiMultiException

        public IgniteSpiMultiException​(String msg)
        Creates new exception with given error message.
        Parameters:
        msg - Error message.
      • IgniteSpiMultiException

        public IgniteSpiMultiException​(Throwable cause)
        Creates new grid exception with given throwable as a cause and source of error message.
        Parameters:
        cause - Non-null throwable cause.
      • IgniteSpiMultiException

        public IgniteSpiMultiException​(String msg,
                                       @Nullable
                                       @Nullable Throwable cause)
        Creates new exception with given error message and optional nested exception.
        Parameters:
        msg - Error message.
        cause - Optional nested exception (can be null).
      • IgniteSpiMultiException

        public IgniteSpiMultiException​(String msg,
                                       @Nullable
                                       @Nullable Throwable cause,
                                       @Nullable
                                       @Nullable Collection<Throwable> nestedCauses)
        Creates new exception with given error message and optional nested exception.
        Parameters:
        msg - Error message.
        cause - Optional nested exception (can be null).
        nestedCauses - Optional collection of nested causes.
    • Method Detail

      • add

        public void add​(Throwable cause)
        Adds a new cause for multi-exception.
        Parameters:
        cause - Cause to add.
      • nestedCauses

        public List<Throwable> nestedCauses()
        Gets nested causes for this multi-exception.
        Returns:
        Nested causes for this multi-exception.