That’s only true if the developer of the class module let the entire stack trace get through to the consumer.
In C# it’s the difference between...
try
{
....
}catch(Exception e)
{
//Do stuff
throw new MyCustomException(“Something Bad happened”);
}And
try
{
....
}catch(Exception e)
{
//do stuff
throw;
}