Exception: AWS::S3::ExceptionClassClash

Inherits:
S3Exception
  • Object
show all
Defined in:
lib/aws-matt/s3/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ ExceptionClassClash

Returns a new instance of ExceptionClassClash.



125
126
127
128
# File 'lib/aws-matt/s3/exceptions.rb', line 125

def initialize(klass)
  message = "The exception class you tried to create (`#{klass}') exists and is not an exception"
  super(message)
end