Exception: Nagios::MkLiveStatus::Exception
- Inherits:
-
Exception
- Object
- Exception
- Nagios::MkLiveStatus::Exception
- Includes:
- Nagios::MkLiveStatus
- Defined in:
- lib/nagios_mklivestatus/exception.rb
Overview
General Exception for nagios. Add logging error when raised
- Author
-
Esco-lan Team ([email protected])
- Copyright
-
Copyright © 2012 GIP RECIA
- License
-
General Public Licence
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ Exception
constructor
A new instance of Exception.
Methods included from Nagios::MkLiveStatus
Constructor Details
#initialize(msg = nil) ⇒ Exception
Returns a new instance of Exception.
12 13 14 15 |
# File 'lib/nagios_mklivestatus/exception.rb', line 12 def initialize(msg=nil) super(msg) logger.error(msg) end |