Sha256: c3a379aeb90c364d82059e629d7130023bade185b99c353f8315d392be16a2f0

Contents?: true

Size: 656 Bytes

Versions: 122

Compression:

Stored size: 656 Bytes

Contents

module Embulk
  # ConfigError is not a ::StandardError but is a java.lang.RuntimeException.
  # "rescue => e" can rescues ConfigError.
  class ConfigError < Java::Config::ConfigException
    def initialize(message=nil)
      if message
        super(message.to_s)
      else
        super()
      end
    end
  end

  # DataError is not a ::StandardError but is a java.lang.RuntimeException.
  # "rescue => e" can rescues DataError.
  class DataError < Java::SPI::DataException
    def initialize(message=nil)
      if message
        super(message.to_s)
      else
        super()
      end
    end
  end

  class PluginLoadError < ConfigError
  end
end

Version data entries

122 entries across 122 versions & 1 rubygems

Version Path
embulk-0.8.2 lib/embulk/error.rb
embulk-0.8.2-java lib/embulk/error.rb
embulk-0.8.1 lib/embulk/error.rb
embulk-0.8.1-java lib/embulk/error.rb
embulk-0.8.0 lib/embulk/error.rb
embulk-0.8.0-java lib/embulk/error.rb
embulk-0.7.10 lib/embulk/error.rb
embulk-0.7.10-java lib/embulk/error.rb
embulk-0.7.9 lib/embulk/error.rb
embulk-0.7.9-java lib/embulk/error.rb
embulk-0.7.8 lib/embulk/error.rb
embulk-0.7.8-java lib/embulk/error.rb
embulk-0.7.7 lib/embulk/error.rb
embulk-0.7.7-java lib/embulk/error.rb
embulk-0.7.6 lib/embulk/error.rb
embulk-0.7.6-java lib/embulk/error.rb
embulk-0.7.5 lib/embulk/error.rb
embulk-0.7.5-java lib/embulk/error.rb
embulk-0.7.4 lib/embulk/error.rb
embulk-0.7.4-java lib/embulk/error.rb