ASP VBScript Details :: How to Display error in ASP Page

This thread was displayed: 464 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Kamesh Kannan
12-18-2006 10:44:22 GMT +2

 

Doubt is:

How to display the error messages when it is popped from the class (asp class) objects or by nested function in a class. Issue is, it is not displaying the Response.write content on the called page.

Below is the Sample Code:

Private sub Function1()

set obj = new MyClass

obj.Callme()

End sub

 

Class MyClass

Public sub Callme()

dim pObj

set pObj = new PrivateClass

pObj.ThisOneForError()

End sub

End Class

 

Class PrivateClass

Public sub ThisOneForError

Response.Write("Error Found in Statement")

End sub

End Class

Back | Reply | Quote | Top
Sign In
Sign In to see your information.
© Adobe Systems Romania. All rights reserved.