Examples of KinesisClientLibDependencyException


Examples of com.amazonaws.services.kinesis.clientlibrary.exceptions.KinesisClientLibDependencyException

        } catch (InvalidStateException e) {
            String message = "Unable to save checkpoint for shardId " + shardId;
            LOG.error(message, e);
            throw new com.amazonaws.services.kinesis.clientlibrary.exceptions.InvalidStateException(message, e);
        } catch (DependencyException e) {
            throw new KinesisClientLibDependencyException("Unable to save checkpoint for shardId " + shardId, e);
        }
    }
View Full Code Here

Examples of com.amazonaws.services.kinesis.clientlibrary.exceptions.KinesisClientLibDependencyException

            throw e;
        } catch (KinesisClientLibDependencyException e) {
            throw e;
        } catch (KinesisClientLibException e) {
            LOG.warn("Caught exception setting checkpoint.", e);
            throw new KinesisClientLibDependencyException("Caught exception while checkpointing", e);
        }
    }
View Full Code Here

Examples of com.amazonaws.services.kinesis.clientlibrary.exceptions.KinesisClientLibDependencyException

                throw e;
            } catch (KinesisClientLibDependencyException e) {
                throw e;
            } catch (KinesisClientLibException e) {
                LOG.warn("Caught exception setting checkpoint.", e);
                throw new KinesisClientLibDependencyException("Caught exception while checkpointing", e);
            }
        }
    }
View Full Code Here

Examples of com.amazonaws.services.kinesis.clientlibrary.exceptions.KinesisClientLibDependencyException

            throw new ThrottlingException("Exceeded throughput while getting an iterator for shard " + shardId, e);
        } catch (AmazonServiceException e) {
            LOG.info("Encountered service exception while getting an iterator for shard " + shardId, e);
            if (e.getStatusCode() >= SERVER_SIDE_ERROR_CODE) {
                // clients can choose whether to retry in their checkpoint logic
                throw new KinesisClientLibDependencyException("Encountered service exception while getting an iterator"
                        + " for shard " + shardId, e);
            }
            // Just throw any other exceptions, e.g. 400 errors caused by the client
            throw e;
        }
View Full Code Here

Examples of com.amazonaws.services.kinesis.clientlibrary.exceptions.KinesisClientLibDependencyException

                throw e;
            } catch (KinesisClientLibDependencyException e) {
                throw e;
            } catch (KinesisClientLibException e) {
                LOG.warn("Caught exception setting checkpoint.", e);
                throw new KinesisClientLibDependencyException("Caught exception while checkpointing", e);
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.