lib/eac_launcher/instances/base.rb in eac_launcher-0.1.2 vs lib/eac_launcher/instances/base.rb in eac_launcher-0.1.3
- old
+ new
@@ -61,11 +61,11 @@
def current_cache
stereotypes.each do |s|
return s.warp_class.new(self) if s.warp_class
end
- raise "None stereotype of \"#{to_root_path}\" has subclass \"CurrentCache\" " \
- "(#{stereotypes.join(', ')})"
+ raise ::EacLauncher::Instances::Error, "None stereotype of \"#{to_root_path}\" has " \
+ "subclass \"CurrentCache\" (#{stereotypes.join(', ')})"
end
private
def publish?(stereotype)