custom-exceptions
Oracle PL/SQL - Raise User-Defined Exception With Custom SQLERRM
Is it possible to create user-defined exceptions and be able to change the SQLERRM? For example: DECLARE[详细]
2023-03-06 12:29 分类:问答Serializable custom exception class?
Google App Engine requires me to make objects serializable before I can use it as a session bean. Now I have a Product class, I made this Product class serializable, but one of its const开发者_开发技巧[详细]
2023-03-06 02:34 分类:问答Custom Exception Type is 'self logging' - is that bad?
I\'m on a project where the team has defined a custom exception type, in the constructor of which is a call to a Logging method which logs the exception passed into the constructor.[详细]
2023-02-24 22:30 分类:问答what's the advantages to define custom exception?
Any big reasons to define custome exceptions in Java开发者_运维技巧?Two reasons immediately spring to mind:[详细]
2023-02-15 22:14 分类:问答What are industry standard best practices for implementing custom exceptions in C#?
What are industry standard best practices for implementing custom exceptions in C#? I have checked Google and there\'s a great number开发者_C百科 of recommendations, however I don\'t know which ones[详细]
2023-02-06 08:55 分类:问答C#: Throwing Custom Exception Best Practices
I have read a few of the other questions regarding C# Exception Handling Practices but none seem to ask what I am looking for.[详细]
2023-02-05 19:38 分类:问答What are the least requirements to have, to say a custom exception is serializable?
I have bunch of custom exceptions in my solution\'s legacy code. And I want to test all the custom exceptions introduced in my projects to see if they are Serializable (XML)[详细]
2023-01-30 06:05 分类:问答Wrap jQuery's $.ajax() method to define global error handling
Branching off of questions like this one, I\'m looking to wrap jQuery\'s $.ajax() method such that I can provide error handling in one location, which would then be used automatically by all of an app[详细]
2023-01-29 03:11 分类:问答ASP.NET MVC 2 Model Errors with Custom Exceptions
I have a custom exception class: public class MyException: Exception { public MyException(MyExceptionEnum myError) : base(myError.ToDescription()) { }[详细]
2023-01-22 07:14 分类:问答Custom Exceptions: Differentiate via many subclasses or single class backed with enum?
I\'m looking to implement my own set of Exceptions for a projects I am currently working on. The project relies on a core framework with a base framework exception MyFrameworkException (I am also writ[详细]
2023-01-19 20:27 分类:问答