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

123

/haiku/headers/build/private/storage/
H A DException.h1 #include <../private/storage/Exception.h>
/haiku/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/src/servers/package/
H A DException.cpp7 #include "Exception.h"
13 Exception::Exception(BTransactionError error) function in class:Exception
25 Exception&
26 Exception::SetSystemError(status_t error)
33 Exception&
34 Exception::SetPackageName(const BString& packageName)
41 Exception&
42 Exception::SetPath1(const BString& path)
49 Exception
[all...]
H A DException.h18 class Exception { class
20 Exception(BTransactionError error);
27 Exception& SetSystemError(status_t error);
31 Exception& SetPackageName(const BString& packageName);
35 Exception& SetPath1(const BString& path);
39 Exception& SetPath2(const BString& path);
43 Exception& SetString1(const BString& string);
47 Exception& SetString2(const BString& string);
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutexcep.c3 * Module Name: utexcep - Exception code support
181 const ACPI_EXCEPTION_INFO *Exception; local
187 Exception = AcpiUtValidateException (Status);
188 if (!Exception)
190 /* Exception code was not recognized */
198 return (Exception->Name);
223 const ACPI_EXCEPTION_INFO *Exception = NULL; local
240 Exception = &AcpiGbl_ExceptionNames_Env [SubStatus];
248 Exception = &AcpiGbl_ExceptionNames_Pgm [SubStatus];
256 Exception
[all...]
/haiku/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/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/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/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/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 );
H A DCompilerOutputter.h12 class Exception;
85 virtual void printNotEqualMessage( Exception *thrownException );
86 virtual void printDefaultMessage( Exception *thrownException );
H A DTestResult.h16 class Exception;
60 virtual void addError( Test *test, Exception *e );
61 virtual void addFailure( Test *test, Exception *e );
/haiku/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/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/src/kits/storage/
H A DResourceFile.cpp22 #include <Exception.h>
83 throw Exception(read, errorMessage);
86 throw Exception("%s Read too few bytes (%ld/%lu).", errorMessage,
89 throw Exception("Read too few bytes (%ld/%lu).", read, size);
100 throw Exception(written, errorMessage);
103 throw Exception("%s Wrote too few bytes (%ld/%lu).", errorMessage,
106 throw Exception("Wrote too few bytes (%ld/%lu).", written, size);
247 } catch (Exception& exception) {
293 throw Exception(error, "Failed to get the file size.");
298 } catch (Exception
[all...]

Completed in 138 milliseconds

123