2 * Copyright 2013-2014, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
11 #include <package/CommitTransactionResult.h>
14 using BPackageKit::BCommitTransactionResult
;
15 using BPackageKit::BTransactionError
;
20 Exception(BTransactionError error
);
22 BTransactionError
Error() const
25 status_t
SystemError() const
26 { return fSystemError
; }
27 Exception
& SetSystemError(status_t error
);
29 const BString
& PackageName() const
30 { return fPackageName
; }
31 Exception
& SetPackageName(const BString
& packageName
);
33 const BString
& Path1() const
35 Exception
& SetPath1(const BString
& path
);
37 const BString
& Path2() const
39 Exception
& SetPath2(const BString
& path
);
41 const BString
& String1() const
43 Exception
& SetString1(const BString
& string
);
45 const BString
& String2() const
47 Exception
& SetString2(const BString
& string
);
49 void SetOnResult(BCommitTransactionResult
& result
);
52 BTransactionError fError
;
53 status_t fSystemError
;