Exception: Owasp::Esapi::IntrustionException

Inherits:
Exception
  • Object
show all
Defined in:
lib/exceptions.rb

Overview

Intrustion detection exception to be logged

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user_message, log_message) ⇒ IntrustionException

Returns a new instance of IntrustionException.


21
22
23
24
# File 'lib/exceptions.rb', line 21

def initialize(user_message,log_message)
  super(user_message)
  @log_message = log_message
end

Instance Attribute Details

#log_messageObject (readonly)

Returns the value of attribute log_message


20
21
22
# File 'lib/exceptions.rb', line 20

def log_message
  @log_message
end