Class Buffered.SourceException

    • Constructor Detail

      • SourceException

        public SourceException​(Buffered source)
        Deprecated.
        Creates a source exception that does not include a cause.
        Parameters:
        source - the source object implementing the Buffered interface.
      • SourceException

        public SourceException​(Buffered source,
                               Throwable... causes)
        Deprecated.
        Creates a source exception from multiple causes.
        Parameters:
        source - the source object implementing the Buffered interface.
        causes - the original causes for this exception.
    • Method Detail

      • getCause

        public final Throwable getCause()
        Deprecated.
        Gets the cause of the exception.
        Overrides:
        getCause in class Throwable
        Returns:
        The (first) cause for the exception, null if no cause.
      • getCauses

        public final Throwable[] getCauses()
        Deprecated.
        Gets all the causes for this exception.
        Returns:
        throwables that caused this exception
      • getSource

        public Buffered getSource()
        Deprecated.
        Gets a source of the exception.
        Returns:
        the Buffered object which generated this exception.