Class StreamBaseListException

All Implemented Interfaces:
com.streambase.sb.util.LocatedItem, Serializable

public class StreamBaseListException extends StreamBaseException
An exception that contains a list of exceptions
See Also:
  • Constructor Details

    • StreamBaseListException

      public StreamBaseListException(String message)
      StreamBaseListException with given message, no location info
      Parameters:
      message - the message
    • StreamBaseListException

      public StreamBaseListException(Throwable cause)
      StreamBaseListException with given cause. Location set to Location from cause
      Parameters:
      cause - the wrapped exception
    • StreamBaseListException

      public StreamBaseListException(String message, Throwable cause)
      StreamBaseListException with given message. Location set to Location from cause
      Parameters:
      message - the message
      cause - the wrapped exception
    • StreamBaseListException

      public StreamBaseListException(String message, com.streambase.sb.util.LocatedItem location, Throwable cause)
      StreamBaseListException with given message. Location set to given location
      Parameters:
      message - the message
      location - the location of the exception
      cause - the wrapped exception
    • StreamBaseListException

      public StreamBaseListException(String message, com.streambase.sb.util.LocatedItem location)
      StreamBaseListException with given message. Location set to given location
      Parameters:
      message - the message
      location - the location of the exception
    • StreamBaseListException

      public StreamBaseListException(String message, List<T> causes)
      StreamBaseListException with given message. Location set to the first exception in the list of causes that has a location
      Type Parameters:
      T - cause exception type
      Parameters:
      message - the message
      causes - a list of causes
    • StreamBaseListException

      @SafeVarargs public StreamBaseListException(String message, T... causes)
      StreamBaseListException with given message. Location set to the first exception in the list of causes that has a location
      Type Parameters:
      T - cause exception type
      Parameters:
      message - the message
      causes - a list of causes
  • Method Details