~ubuntu-branches/ubuntu/trusty/scim-bridge/trusty

« back to all changes in this revision

Viewing changes to agent/scim-bridge-agent-exception.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Hou ZhengPeng
  • Date: 2006-04-02 18:07:30 UTC
  • Revision ID: james.westby@ubuntu.com-20060402180730-x4zlfe8odh4yzcld
Tags: upstream-0.1.3
ImportĀ upstreamĀ versionĀ 0.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <string.h>
 
2
 
 
3
#include "scim-bridge-agent-exception.h"
 
4
 
 
5
using std::runtime_error;
 
6
using std::string;
 
7
 
 
8
ScimBridgeAgentException::ScimBridgeAgentException (const string &message): runtime_error (message)
 
9
{
 
10
}
 
11
 
 
12
 
 
13
ScimBridgeAgentException::ScimBridgeAgentException (const ScimBridgeException &parent):
 
14
runtime_error (string (scim_bridge_exception_get_message (&parent)) + ": " + string (scim_bridge_exception_get_strerror (&parent)))
 
15
{
 
16
}
 
17
 
 
18
 
 
19
ScimBridgeAgentException::~ScimBridgeAgentException () throw ()
 
20
{
 
21
}