VirtualBoxErrorInfoImpl.cpp revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
/** @file
*
* VirtualBoxErrorInfo COM classe implementation
*/
/*
* Copyright (C) 2006 InnoTek Systemberatung GmbH
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License as published by the Free Software Foundation,
* in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
* distribution. VirtualBox OSE is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY of any kind.
*
* If you received this file as part of a commercial VirtualBox
* distribution, then only the terms of your commercial VirtualBox
* license agreement apply instead of the previous paragraph.
*/
#include "VirtualBoxErrorInfoImpl.h"
#include "Logging.h"
// public initializer/uninitializer for internal purposes only
////////////////////////////////////////////////////////////////////////////////
{
}
// IVirtualBoxErrorInfo properties
////////////////////////////////////////////////////////////////////////////////
{
if (!resultCode)
return E_POINTER;
return S_OK;
}
{
if (!iid)
return E_POINTER;
return S_OK;
}
{
if (!component)
return E_POINTER;
return S_OK;
}
{
if (!text)
return E_POINTER;
return S_OK;
}
#if defined (__WIN__)
// IErrorInfo methods
////////////////////////////////////////////////////////////////////////////////
{
}
{
}
{
return E_NOTIMPL;
}
{
return E_NOTIMPL;
}
{
}
#else // !defined (__WIN__)
// nsIException methods
////////////////////////////////////////////////////////////////////////////////
/* readonly attribute string message; */
{
if (!aMessage)
return NS_ERROR_INVALID_POINTER;
return S_OK;
}
/* readonly attribute nsresult result; */
{
}
/* readonly attribute string name; */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string filename; */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRUint32 lineNumber; */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRUint32 columnNumber; */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIStackFrame location; */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIException inner; */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports data; */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* string toString (); */
{
return NS_ERROR_NOT_IMPLEMENTED;
}
#endif