Improve exception messages (for debugging)
Change-Id: Id2e00e0b0363c58c88585dd15f34156e57a7aaac
This commit is contained in:
@@ -404,7 +404,8 @@ void LoadEnv::startLoading()
|
||||
// not started => general error
|
||||
// We can't say - what was the reason for.
|
||||
if (!bStarted)
|
||||
throw LoadEnvException(LoadEnvException::ID_GENERAL_ERROR);
|
||||
throw LoadEnvException(
|
||||
LoadEnvException::ID_GENERAL_ERROR, "not started");
|
||||
}
|
||||
|
||||
/*-----------------------------------------------
|
||||
@@ -1698,7 +1699,9 @@ void LoadEnv::impl_reactForLoadingState()
|
||||
if (bThrow)
|
||||
{
|
||||
if ( aRequest.isExtractableTo( ::cppu::UnoType< css::uno::Exception >::get() ) )
|
||||
throw LoadEnvException( LoadEnvException::ID_GENERAL_ERROR, "", aRequest );
|
||||
throw LoadEnvException(
|
||||
LoadEnvException::ID_GENERAL_ERROR, "interaction request",
|
||||
aRequest);
|
||||
}
|
||||
|
||||
// <- SAFE ----------------------------------
|
||||
|
Reference in New Issue
Block a user