Exception: XMigra::NewAccessArtifactAdder::UnsupportedArtifactType

Inherits:
Error
  • Object
show all
Defined in:
lib/xmigra/new_access_artifact_adder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(artifact_type, system_name) ⇒ UnsupportedArtifactType

Returns a new instance of UnsupportedArtifactType.



7
8
9
10
11
# File 'lib/xmigra/new_access_artifact_adder.rb', line 7

def initialize(artifact_type, system_name)
  super("#{system_name} does not support #{artifact_type} artifacts")
  @artifact_type = artifact_type
  @system_name = system_name
end

Instance Attribute Details

#artifact_typeObject (readonly)

Returns the value of attribute artifact_type.



13
14
15
# File 'lib/xmigra/new_access_artifact_adder.rb', line 13

def artifact_type
  @artifact_type
end

#system_nameObject (readonly)

Returns the value of attribute system_name.



13
14
15
# File 'lib/xmigra/new_access_artifact_adder.rb', line 13

def system_name
  @system_name
end