class T2Server::AuthorizationError
Access to the server is denied to this username
Attributes
username[R]
The username that has failed authorization.
Public Class Methods
new(credentials)
click to toggle source
Create a new AuthorizationError with the rejected username
Calls superclass method
# File lib/t2-server/exceptions.rb, line 166 def initialize(credentials) if credentials != nil @username = credentials.username else @username = "" end super "The username '#{@username}' is not authorized to connect to " + "this server" end