Do you use ASP.NET Application?
Create a label with a empty start value and give a name. so, into you catch statement set like this:
try{}catch(Exception e)
{
lblErro.ForeColor = Color.Red;
lblErro.Text = "*** ERRO: " + ex.Message;
}
if your method is not in your layer view, throws your exception with you message, and use my code.
so you shall be your exception to. aspx file.