class Confluence::RemoteException

Public Class Methods

new(msg = nil, type = nil) click to toggle source
Calls superclass method
# File lib/confluence/confluence_rpc.rb, line 69
def initialize(msg = nil, type = nil)
  if msg.kind_of? XMLRPC::FaultException
    msg.faultString =~ /^.*?:\s(.*?):\s(.*)/
    msg = $2
    type = $1
  end

  super(msg)
  @type = type
end