Exception: Confluence::RemoteException
- Inherits:
-
Exception
- Object
- Exception
- Confluence::RemoteException
- Defined in:
- lib/confluence/confluence_rpc.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil, type = nil) ⇒ RemoteException
constructor
A new instance of RemoteException.
Constructor Details
#initialize(msg = nil, type = nil) ⇒ RemoteException
Returns a new instance of RemoteException.
69 70 71 72 73 74 75 76 77 78 |
# 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 |