For the type of error you are getting, there won't be any exception
text.

Occassionally you will get errors in CFMX that don't return a CFCATCH
structure. They return a Java object.

I can't think off the top of my head the type of conditions that make
this occur, but I know that dumping the CFCATCH object will result in
what you are seeing.

If you want to get the same thing that you would see if you didn't have
the cfcatch block there, you could have a look at the files in :

CFusionMX\wwwroot\WEB-INF\exceptions\coldfusion

They are the ones that are used by the server to render error pages.

Spike

Stephen Milligan
Team Macromedia - ColdFusion
Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content
Management'
http://spikefu.blogspot.com

> -----Original Message-----
> From: Giles Roadnight [mailto:[EMAIL PROTECTED]] 
> Sent: 07 January 2003 15:15
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] CFMX CFcatch
> 
> 
> Yeah
> 
> 
> 
> Giles Roadnight
> http://giles.roadnight.name
> 
> 
> -----Original Message-----
> From: Niklas Richardson [mailto:[EMAIL PROTECTED]] 
> Sent: 07 January 2003 13:22
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] CFMX CFcatch
> 
> In HTML format?
> 
> > -----Original Message-----
> > From: Giles Roadnight [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 07, 2003 10:31 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] CFMX CFcatch
> > 
> > 
> > The output in my e-mail is a cfcatch:
> > 
> >     <p>Error:</p>
> >     <cfdump var="#cfcatch#">
> > 
> > I also dump all of the form, url, request and so on variables.
> > 
> > 
> > Giles Roadnight
> > http://giles.roadnight.name
> > 
> > 
> > -----Original Message-----
> > From: Niklas Richardson [mailto:[EMAIL PROTECTED]]
> > Sent: 07 January 2003 09:48
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] CFMX CFcatch
> > 
> > What about emailing yourself an HTML email which contains:
> > 
> > <CFDUMP VAR="#CFCATCH#">
> > 
> > Then you have ALL the CFCATCH variables.
> > 
> > HTH
> > 
> > Niklas
> > 
> > P.s. Happy New Year everyone!
> > 
> > > -----Original Message-----
> > > From: Giles Roadnight [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, January 03, 2003 9:55 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [ cf-dev ] CFMX CFcatch
> > > 
> > > 
> > > Hi at the moment when an error occurs on my website I get
> > e-mailed the
> > > CFcatch:
> > >  
> > > 
> > > object [unknown type]
> > > 
> > > Methods
> > > getString (returns java.lang.String)
> > > findThrowableTarget (returns int)
> > > findAdvancedCFTarget (returns int)
> > > findCustomTarget (returns int)
> > > unwrap (returns java.lang.Throwable)
> > > hashCode (returns int)
> > > wait (returns void)
> > > wait (returns void)
> > > wait (returns void)
> > > getClass (returns java.lang.Class)
> > > equals (returns boolean)
> > > notify (returns void)
> > > notifyAll (returns void)
> > > printStackTrace (returns void)
> > > printStackTrace (returns void)
> > > printStackTrace (returns void)
> > > fillInStackTrace (returns java.lang.Throwable)
> > > toString (returns java.lang.String)
> > > getLocalizedMessage (returns java.lang.String)
> > > getType (returns java.lang.String)
> > > setLocale (returns void)
> > > getRootCause (returns java.lang.Throwable)
> > > getDetail (returns java.lang.String)
> > > getErrNumber (returns int)
> > > getMessage (returns java.lang.String)
> > > getResolvedname (returns java.lang.String)
> > > 
> > > objectType
> > > class java.lang.Class
> > > 
> > > container
> > > class java.lang.Object
> > > 
> > > element
> > > RECORDCOUNT
> > >  
> > > This isn't very useful. It doesn't tell me what line or
> > which file the
> > > error occurs, the only thing I know is that it is something
> > to do with
> > > recordcount somewhere. How do I get CFMX to e-mail the
> > > exception text I
> > > get when the error occurs when browsing and you have 
> > debugging turned
> > > on?
> > >  
> > > I do also e-mail myself all variables but these do not help much.
> > >  
> > >  
> > > Giles Roadnight
> > > http://giles.roadnight.name
> > >  
> > > 
> > 
> > 
> > --
> > ** Archive: 
> http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> > 
> 
> > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> [EMAIL PROTECTED] For 
> > human help, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> > --
> > ** Archive: 
> http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> > 
> 
> > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> [EMAIL PROTECTED] For 
> > human help, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to