Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExceptForm Exception Handling :)
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00847522
Message ID:
00849419
Vues:
24
/* Below line writen for raise run-time SystemException::Exception */
//-------------------------------------------------------------------
object rnd;
rnd = new System.Random();
foo(rnd); /* foo has one object type argument.
* but foo will type conversiton to o paramater
* System.Text.Encoding its not possible and
* throw SystemException.*/
//-------------------------------------------------------------------

and now trying in catch block and show ExceptionForm;

mmAppBase.Log.WriteException(e);
// Display the Exception form /*its parts of your sample code.*/
mmExceptionForm ExceptForm = new mmExceptionForm(e.Message, e.StackTrace);
we can work iT ouT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform