stafinternalutil.h

来自「Software Testing Automation Framework (S」· C头文件 代码 · 共 36 行

H
36
字号
/*****************************************************************************//* Software Testing Automation Framework (STAF)                              *//* (C) Copyright IBM Corp. 2001                                              *//*                                                                           *//* This software is licensed under the Common Public License (CPL) V1.0.     *//*****************************************************************************/#ifndef STAF_InternalUtil#define STAF_InternalUtil#ifdef __cplusplus#include "STAFString.h"inline STAFString getExceptionString(STAFException &e,                                     const char *caughtWhere = 0){    STAFString result;    if (caughtWhere)    {        result += STAFString("In ") + caughtWhere + STAFString(", ");    }    result += STAFString("Name: ") + e.getName();    result += STAFString(", Location: ") + e.getLocation();    result += STAFString(", Text: ") + e.getText();    result += STAFString(", Error code: ") + e.getErrorCode();    return result;}#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?