Exception: Owasp::Esapi::EnterpriseSecurityException

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

Overview

Base Exception class for SecurityExceptions

Direct Known Subclasses

ExecutorException, ValidationException

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user_msg, log_msg) ⇒ EnterpriseSecurityException

Returns a new instance of EnterpriseSecurityException.



8
9
10
11
# File 'lib/exceptions.rb', line 8

def initialize(user_msg, log_msg)
  super(user_msg)
  @log_message = log_msg
end

Instance Attribute Details

#log_messageObject (readonly)

Returns the value of attribute log_message.



7
8
9
# File 'lib/exceptions.rb', line 7

def log_message
  @log_message
end