Interface AmqpExceptionBuilder

All Known Implementing Classes:
AmqpClosedConnectionBuilder, AmqpConnectionBuilder, AmqpConnectionSessionBuilder, AmqpConsumerBuilder, AmqpProducerBuilder, AmqpResourceBuilder, AmqpSessionBuilder, AmqpTemporaryDestinationBuilder, AmqpTransactionCoordinatorBuilder

public interface AmqpExceptionBuilder
Used to provide a source for an exception based on some event such as operation timed out, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an exception appropriate to some failure condition
  • Method Details

    • createException

      ProviderException createException()
      Creates an exception appropriate to some failure condition
      Returns:
      a new Exception instance that describes a failure condition.