Its just something that I wrote to find out what data was in an object returned by web service without having to know what the object looked like.

Stephen

Snake Hollywood wrote:
Is this a generic solution to getting more useful error messages with
"enable robust exception handling" disabled then?


-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 15:16
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] dumping CFCACTCH



I've written a cfscript function that will recurse an object and place it in a struct, so that you can cfdump it.


Its by no means perfect, but I've emailed it to you off line, because its bloody big to bung in an email!

Feel free to do with it as you please.

Stephen

Damien Gallagher wrote:


Ah, OK. It is shared hosting. Is there any other way to get

the good


error information in such a setup?

-----Original Message-----
From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED]
Sent: 17 March 2004 14:58
To: '[EMAIL PROTECTED]'
Subject: RE: [ cf-dev ] dumping CFCACTCH



You need to switch on Enable Robust Exception Information

within the


CFIDE - I would assume that if this is a shared hosting environment its off to prevent file paths being shown etc...




________________________________


        From: Damien Gallagher [mailto:[EMAIL PROTECTED]
        Sent: 17 March 2004 15:00
        To: [EMAIL PROTECTED]
        Subject: RE: [ cf-dev ] dumping CFCACTCH


I have some error handling on my site which emails dumps of the CFCATCH and CGI variables. When running this on the CFMX

servers, the


CFCATCH doesn't seem to give me any useful info but just

gives me the


output below. When running this on my local server I get

the full cold


fusion error output.

Any ideas? ta, Damien

object of coldfusion.runtime.UndefinedElementException

        Methods  getMessage (returns java.lang.String)
        getResolvedname (returns java.lang.String)
        getErrNumber (returns int)
        getLocalizedMessage (returns java.lang.String)
        getType (returns java.lang.String)
        getString (returns java.lang.String)
        getRootCause (returns java.lang.Throwable)
        setLocale (returns void)
        findThrowableTarget (returns int)
        findAdvancedCFTarget (returns int)
        findCustomTarget (returns int)
        unwrap (returns java.lang.Throwable)
        getDetail (returns java.lang.String)
        printStackTrace (returns void)
        printStackTrace (returns void)
        printStackTrace (returns void)
        fillInStackTrace (returns java.lang.Throwable)
        toString (returns java.lang.String)
        initCause (returns java.lang.Throwable)
        getCause (returns java.lang.Throwable)
        getStackTrace (returns [Ljava.lang.StackTraceElement;)
        setStackTrace (returns void)
        hashCode (returns int)
        getClass (returns java.lang.Class)
        wait (returns void)
        wait (returns void)
        wait (returns void)
        equals (returns boolean)
        notify (returns void)
        notifyAll (returns void)

        objectType       class java.lang.Class
        container        class java.lang.Object
        element  TYPE

This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be

privileged. It is


for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of

distribution,


copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com

--
These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/


CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*


To unsubscribe, e-mail: [EMAIL PROTECTED]





--
These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/


CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*


To unsubscribe, e-mail: [EMAIL PROTECTED]





-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to