~ubuntu-branches/ubuntu/wily/puppet/wily

« back to all changes in this revision

Viewing changes to lib/puppet/parameter.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2014-04-17 14:50:28 UTC
  • mfrom: (3.1.59 sid)
  • Revision ID: package-import@ubuntu.com-20140417145028-j3p3dwvp8ggpzvaf
Tags: 3.5.1-1
ImportedĀ upstreamĀ releaseĀ 3.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
464
464
    begin
465
465
      unsafe_validate(value)
466
466
    rescue ArgumentError => detail
467
 
      fail detail.to_s
 
467
      self.fail Puppet::Error, detail.to_s, detail
468
468
    rescue Puppet::Error, TypeError
469
469
      raise
470
470
    rescue => detail