1/*!
2  @header FTDictionaryServiceStorageException
3  @abstract Module of FT
4
5  @availability OS X, GNUstep
6  @copyright 2004, 2005, 2006 Free Software Foundation, Inc.
7
8  This library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Lesser General Public
10  License as published by the Free Software Foundation; either
11  version 2.1 of the License, or (at your option) any later version.
12
13  This library is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  Lesser General Public License for more details.
17
18  You should have received a copy of the GNU Lesser General Public
19  License along with this library; if not, write to the Free Software
20  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
21
22  <pre>
23  -------------------------------------------------------------------------
24  Modification history
25
26  24.10.05 ola     initial version
27  23.08.06 ola     license changed
28  -------------------------------------------------------------------------
29  </pre>
30*/
31
32#include <FT/FTDictionaryServiceStorageException.h>
33
34@implementation FTDictionaryServiceStorageException
35
36- initWithOperationInformation: (NSString *) anInformation
37  withOperationStatus: (BDBOperationStatus) aStatus {
38
39  self = [super init];
40
41  self->operationInformation = [anInformation retain];
42  self->operationStatus = aStatus;
43
44  return self;
45}
46
47
48- (void) dealloc {
49  if( nil != self->operationInformation ) {
50    [self->operationInformation release];
51  }
52
53  [super dealloc];
54}
55
56
57- (BDBOperationStatus) operationStatus {
58  return self->operationStatus;
59}
60
61
62- (NSString *) operationInformation {
63  return self->operationInformation;
64}
65@end
66