Example usage for com.amazonaws.services.sns.model InternalErrorException InternalErrorException

List of usage examples for com.amazonaws.services.sns.model InternalErrorException InternalErrorException

Introduction

In this page you can find the example usage for com.amazonaws.services.sns.model InternalErrorException InternalErrorException.

Prototype

public InternalErrorException(String message) 

Source Link

Document

Constructs a new InternalErrorException with the specified error message.

Usage

From source file:org.apache.beam.sdk.io.aws.sns.AmazonSNSMockErrors.java

License:Apache License

@Override
public PublishResult publish(PublishRequest publishRequest) {
    throw new InternalErrorException("Service unavailable");
}