/* * Copyright (c) 2001-2006 * DecisionSoft Limited. All rights reserved. * Copyright (c) 2004-2006 * Progress Software Corporation. All rights reserved. * Copyright (c) 2004-2006 * Oracle. All rights reserved. * * See the file LICENSE for redistribution information. * * $Id: FunctionException.hpp,v 1.9 2006/11/01 16:37:12 jpcs Exp $ */ /* FunctionException - exception class for functions */ #ifndef _FUNCTIONEXCEPTION_HPP #define _FUNCTIONEXCEPTION_HPP #include #include #include /** exception class for tests. Inherit from this if you need to throw an exception in the test suite.*/ class XQILLA_API FunctionException : public XQException { public: FunctionException(const XMLCh* const functionName, const XMLCh* const reason, const LocationInfo *info, const char *file, int line) : XQException(X("FunctionException"), functionName, reason, info, file, line) {}; }; #endif // _FUNCTIONEXCEPTION_HPP