Searched refs:Exception (Results 1 - 25 of 85) sorted by relevance

1234

/haiku-fatelf/headers/build/private/storage/
H A DException.h1 #include <../private/storage/Exception.h>
/haiku-fatelf/src/tools/cppunit/cppunit/
H A DException.cpp1 #include "cppunit/Exception.h"
11 const string Exception::UNKNOWNFILENAME = "<unknown>";
16 const long Exception::UNKNOWNLINENUMBER = -1;
21 Exception::Exception( const Exception &other ) : function in class:CppUnit::Exception
32 Exception::Exception( std::string message, function in class:CppUnit::Exception
44 Exception::Exception( st function in class:CppUnit::Exception
[all...]
H A DNotEqualException.cpp12 Exception( "Expected: " + expected +
31 Exception( "Expected: " + expected + ", but was: " + actual,
42 Exception( other ),
58 Exception::operator =( other );
70 Exception *
81 Exception::isInstanceOf( exceptionType );
85 Exception::Type
H A DTestCase.cpp6 #include "cppunit/Exception.h"
35 catch ( Exception &e ) {
36 Exception *copy = e.clone();
40 result->addError( this, new Exception( e.what() ) );
43 Exception *e = new Exception( "caught unknown exception" );
51 result->addError( this, new Exception( "tearDown() failed" ) );
55 result->addError( this, new Exception( "setUp() failed" ) );
H A DTestFailure.cpp1 #include "cppunit/Exception.h"
11 Exception *thrownException,
34 Exception *
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutexcep.c3 * Module Name: utexcep - Exception code support
146 const char *Exception = NULL; local
152 Exception = AcpiUtValidateException (Status);
153 if (!Exception)
155 /* Exception code was not recognized */
160 Exception = "UNKNOWN_STATUS_CODE";
163 return (ACPI_CAST_PTR (const char, Exception));
188 const char *Exception = NULL; local
205 Exception = AcpiGbl_ExceptionNames_Env [SubStatus];
213 Exception
[all...]
/haiku-fatelf/src/tools/gensyscalls/
H A Dgensyscalls_common.h11 // Exception
12 struct Exception : exception { struct in inherits:exception
13 Exception() function in struct:Exception
18 Exception(const string &message) function in struct:Exception
23 virtual ~Exception() throw() {}
35 struct EOFException : public Exception {
37 EOFException(const string &message) : Exception(message) {}
42 struct IOException : public Exception {
44 IOException(const string &message) : Exception(message) {}
49 struct ParseException : public Exception {
[all...]
/haiku-fatelf/src/tools/cppunit/
H A DSemaphoreSyncObject.cpp2 #include <cppunit/Exception.h>
9 throw CppUnit::Exception("SemaphoreSyncObject::SemaphoreSyncObject() -- Error creating semaphore");
21 throw CppUnit::Exception("SemaphoreSyncObject::lock() -- Error acquiring semaphore");
28 throw CppUnit::Exception("SemaphoreSyncObject::unlock() -- Error releasing semaphore");
/haiku-fatelf/src/libs/pdflib/bind/pdflib/cpp/
H A Dpdflib.hpp51 class Exception class in class:PDFlib
54 Exception(string errmsg, int errnum, string apiname, void *opaque);
65 }; // Exception
71 void *opaque = NULL) PDF_THROWS(Exception);
76 void *opaque = NULL) PDF_THROWS(Exception);
92 string filename) PDF_THROWS(PDFlib::Exception);
94 int page, string optlist) PDF_THROWS(PDFlib::Exception);
97 PDF_THROWS(PDFlib::Exception);
100 string optlist) PDF_THROWS(PDFlib::Exception);
102 PDF_THROWS(PDFlib::Exception);
[all...]
H A Dpdflib.cpp29 PDFlib::Exception::Exception(string errmsg, int errnum, string apiname, void *opaque) function in class:PDFlib::Exception
36 string PDFlib::Exception::get_errmsg() { return m_errmsg; }
37 string PDFlib::Exception::get_message() { return m_errmsg; }
38 int PDFlib::Exception::get_errnum() { return m_errnum; }
39 string PDFlib::Exception::get_apiname() { return m_apiname; }
40 const void * PDFlib::Exception::get_opaque() { return m_opaque; }
45 throw Exception(PDF_get_errmsg(p), PDF_get_errnum(p),\
62 void *opaque) PDF_THROWS(PDFlib::Exception)
69 throw Exception("loade
[all...]
/haiku-fatelf/headers/private/storage/
H A DException.h0 // Exception
14 class Exception { class in namespace:BPrivate::Storage
17 Exception() function in class:BPrivate::Storage::Exception
24 Exception(BString description) function in class:BPrivate::Storage::Exception
31 Exception(const char* format,...) function in class:BPrivate::Storage::Exception
42 Exception(status_t error) function in class:BPrivate::Storage::Exception
49 Exception(status_t error, BString description) function in class:BPrivate::Storage::Exception
56 Exception(status_t error, const char* format,...) function in class:BPrivate::Storage::Exception
67 Exception(const Exception function in class:BPrivate::Storage::Exception
[all...]
/haiku-fatelf/src/tools/restest/
H A DException.h0 // Exception
11 class Exception { class
14 Exception() function in class:Exception
21 Exception(BString description) function in class:Exception
28 Exception(const char* format,...) function in class:Exception
39 Exception(status_t error) function in class:Exception
46 Exception(status_t error, BString description) function in class:Exception
53 Exception(status_t error, const char* format,...) function in class:Exception
64 Exception(const Exception function in class:Exception
[all...]
H A Drestest.cpp11 #include "Exception.h"
55 Exception* exception;
107 throw Exception(USAGE_ERROR, "Illegal argument: `'.");
110 throw Exception(USAGE_ERROR, "Illegal argument: `-'.");
115 throw Exception(USAGE_HELP);
131 throw Exception(USAGE_ERROR, BString("Illegal option: `")
140 throw Exception(USAGE_HELP);
161 throw Exception(USAGE_ERROR,
185 throw Exception(error);
187 throw Exception("Entr
[all...]
H A DResourceFile.cpp9 #include "Exception.h"
51 throw Exception(read, errorMessage);
54 throw Exception("%s Read to few bytes (%ld/%lu).", errorMessage,
57 throw Exception("Read to few bytes (%ld/%lu).", read, size);
213 } catch (Exception exception) {
299 throw Exception("Resource file not initialized.");
385 throw Exception("Supplied buffer is NULL.");
387 throw Exception("Supplied buffer is too small.");
433 throw Exception(error, "Error loading resource data.");
485 throw Exception("Ba
[all...]
/haiku-fatelf/headers/tools/cppunit/cppunit/
H A DException.h14 * Exception is an exception that serves
17 class CPPUNIT_API Exception : public std::exception class in namespace:CppUnit
35 Exception( std::string message = "",
39 Exception( std::string message,
44 Exception (const Exception& other);
46 virtual ~Exception () throw();
48 Exception& operator= (const Exception& other);
62 virtual Exception *clon
[all...]
H A DTestFailure.h9 class Exception;
27 Exception *thrownException,
34 virtual Exception *thrownException() const;
48 Exception *m_thrownException;
H A DNotEqualException.h4 #include <cppunit/Exception.h>
9 /*! \brief Exception thrown by failed equality assertions.
12 class CPPUNIT_API NotEqualException : public Exception
51 Exception *clone() const;
H A DTestListener.h9 class Exception;
H A DTextOutputter.h11 class Exception;
39 virtual void printFailureDetail( Exception *thrownException );
/haiku-fatelf/src/libs/pdflib/bind/pdflib/java/
H A DPDFlibException.java22 Exception handling for PDFlib.
27 public class PDFlibException extends Exception {
H A Dbusinesscard.java40 throw new Exception("Error: " + p.get_errmsg());
51 throw new Exception("Error: " + p.get_errmsg());
56 throw new Exception("Error: " + p.get_errmsg());
82 } catch (Exception e) {
/haiku-fatelf/src/tools/
H A Dset_haiku_revision.cpp226 // #pragma mark - Exception
229 class Exception { class
232 Exception() function in class:Exception
239 Exception(const char* format,...) function in class:Exception
250 Exception(int error) function in class:Exception
257 Exception(int error, const char* format,...) function in class:Exception
268 Exception(const Exception& exception) function in class:Exception
275 ~Exception()
349 throw Exception("Faile
[all...]
/haiku-fatelf/headers/tools/cppunit/
H A DThreadManager.h4 #include <cppunit/Exception.h>
123 throw CppUnit::Exception("BThreadManager::LaunchThread() -- Error acquiring thread semaphore");
149 throw CppUnit::Exception("BThreadManager::Run() -- NULL fObject pointer");
169 } catch ( CppUnit::Exception &e ) {
171 CppUnit::Exception *threadException = new CppUnit::Exception(
179 CppUnit::Exception *threadException = new CppUnit::Exception(
186 CppUnit::Exception *threadException = new CppUnit::Exception(
[all...]
H A DThreadedTestCaller.h96 throw CppUnit::Exception("BThreadedTestCaller::addThread() - Attempt to add thread under duplicated name ('"
115 throw CppUnit::Exception("BThreadedTestCaller::run() -- No threads added to BThreadedTestCaller()");
137 throw CppUnit::Exception("BThreadedTestCaller::run() -- Error creating fThreadSem");
146 result->addError(this, new CppUnit::Exception("Error launching thread '" + i->second->getName() + "'"));
210 } catch ( CppUnit::Exception &e ) {
213 CppUnit::Exception *threadException = new CppUnit::Exception(
221 CppUnit::Exception *threadException = new CppUnit::Exception(
228 CppUnit::Exception *threadExceptio
[all...]
/haiku-fatelf/src/kits/storage/
H A DResourceFile.cpp25 #include <Exception.h>
84 throw Exception(read, errorMessage);
87 throw Exception("%s Read too few bytes (%ld/%lu).", errorMessage,
90 throw Exception("Read too few bytes (%ld/%lu).", read, size);
101 throw Exception(written, errorMessage);
104 throw Exception("%s Wrote too few bytes (%ld/%lu).", errorMessage,
107 throw Exception("Wrote too few bytes (%ld/%lu).", written, size);
248 } catch (Exception exception) {
294 throw Exception(error, "Failed to get the file size.");
299 } catch (Exception exceptio
[all...]

Completed in 126 milliseconds

1234