Timeline for Distinguish exceptions thrown by the Tridion core service
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 12, 2013 at 14:18 | comment | added | Syav4eg | I use typeof(Exception).Name - it is string as well. My suggestion - you must look to your problem context...somewhere it will be enough to have only ExceptionName, somewhere you need to use errorCode(usually it shows the exception reason deeper). For example on Schema/Content validation you can get InvalidXmlException with different errorCodes. | |
Nov 12, 2013 at 14:08 | comment | added | Noldy | I don't know which version of Tridion Core Service you are using. For 2011 e.Detail.ExceptionName is a string. | |
Nov 12, 2013 at 13:31 | comment | added | Noldy | I like this way for solving my problem. Allthough I still would have like a list of possible exceptions that can manifest in the FaultException. | |
Nov 12, 2013 at 13:09 | history | answered | Syav4eg | CC BY-SA 3.0 |