Exception: ADAM6050::Password::FormatError

Inherits:
Error
  • Object
show all
Defined in:
lib/adam6050/password.rb

Overview

Format errors should be raised whenever a plain text password longer than 8 characters is passed. Note that only ascii characters are supported.

Instance Method Summary collapse

Constructor Details

#initializeFormatError

Returns a new instance of FormatError.



23
24
25
# File 'lib/adam6050/password.rb', line 23

def initialize
  super 'Only ascii passwords of length 8 or less are supported'
end