version 1.16.4.1, 2004/12/01 03:23:47
|
version 1.17, 2005/02/05 22:59:23
|
|
|
//%2004//////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; | // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
AssertionFailureException::AssertionFailureException( | AssertionFailureException::AssertionFailureException( |
const char* file, | const char* file, |
size_t line, | size_t line, |
const char* message) : Exception(String::EMPTY) |
|
{ |
|
_init(file, line, message); |
|
} |
|
|
|
AssertionFailureException::AssertionFailureException( |
|
const char* file, |
|
size_t line, |
|
const String& message) : Exception(String::EMPTY) | const String& message) : Exception(String::EMPTY) |
{ | { |
_init(file, line, message); |
|
} |
|
|
|
void AssertionFailureException::_init( |
|
const char* file, size_t line, const String& message) |
|
{ |
|
char lineStr[32]; | char lineStr[32]; |
sprintf(lineStr, "%u", Uint32(line)); | sprintf(lineStr, "%u", Uint32(line)); |
| |