Lines Matching refs:exceptionCode
54 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() argument
55 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
56 return Status(exceptionCode, FAILED_TRANSACTION); in fromExceptionCode()
58 return Status(exceptionCode, OK); in fromExceptionCode()
61 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument
63 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
64 return Status(exceptionCode, FAILED_TRANSACTION, message); in fromExceptionCode()
66 return Status(exceptionCode, OK, message); in fromExceptionCode()
75 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() argument
76 : mException(exceptionCode), in Status()
79 Status::Status(int32_t exceptionCode, int32_t errorCode, const char *message) in Status() argument
80 : mException(exceptionCode), in Status()
103 if (s.exceptionCode() == Status::EX_NONE) { in operator <<()
106 stream << "Status(" << exceptionToString(s.exceptionCode()) << "): '"; in operator <<()
107 if (s.exceptionCode() == Status::EX_TRANSACTION_FAILED) { in operator <<()