Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to show the printStackTrace details in the details area of the ErrorDialog.
how to show the printStackTrace details in the details area of the ErrorDialog. [message #249989] Mon, 07 June 2004 00:37
Eclipse UserFriend
Originally posted by: albert_tan.operamail.com

Hi All,

how to show the printStackTrace details in the details area of the
ErrorDialog.

below is my code that I am tring to use:

{
Exception cause= (MyException)e.getCause();

Status[] kidsStatus = new Status[1];

kidsStatus[0] = new Status(Status.ERROR, "not_used",
0, cause.getMessage(), cause);

MultiStatus m = new MultiStatus("not_used", 0, kidsStatus,
e.getMessage(), e);

ErrorDialog err = new ErrorDialog(shell, "MyApplication Error",
null, m, IStatus.ERROR);

err.open();
}

thanks for any help

thanks
Albert
Previous Topic:creating patches from synchronize view
Next Topic:Can I put Eclipse plugins into my features?
Goto Forum:
  


Current Time: Sun Jul 27 11:00:52 EDT 2025

Powered by FUDForum. Page generated in 0.03720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top