protected boolean isRetriableSendException()

in src/com/amazon/kinesis/streaming/agent/tailing/SimplePublisher.java [215:225]


    protected boolean isRetriableSendException(Throwable t) {
        return !(t instanceof NullPointerException) &&
                !(t instanceof IllegalArgumentException) &&
                !(t instanceof IllegalStateException) &&
                !(t instanceof ClassCastException) &&
                !(t instanceof IndexOutOfBoundsException) &&
                !(t instanceof SecurityException) &&
                !(t instanceof UnsupportedOperationException) &&
                !(t instanceof ClosedByInterruptException)
                && (t.getCause() == null || isRetriableSendException(t.getCause()));
    }