Actions
Feature #95
openImprove Exception Handling (Dorothy custom error classes)
Status:
New
Priority:
Bassa
Assignee:
-
Target version:
-
Start date:
03/23/2015
Due date:
% Done:
0%
Estimated time:
Description
#/lib/dorothy/exception.rb
#Dorothy custom error classes
module Dorothy2 # Exceptions raised by Dorothy2 inherit from Error
class Error < StandardError; end
Exception raised DEM
class SandBoxError < Error; end
Exception raised by pcapr
class PcaprError < Error; end
Exception raised by Analyzer
class AnalyzerError < Error; end
Exception raised by WGui
class WguiError < Error; end
Exception raised by Sandbox
class SandBoxError < Eror; end
end
#Usage
rescue Dorothy2::Error
rescue Dorothy2::PcaprError
rescue Dorothy2::AnalyzerError
No data to display
Actions