Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace SomeNamespace
- {
- using System;
- class CustomException : Exception
- {
- public CustomException()
- : base() { }
- public CustomException(string message)
- : base(message) { }
- public CustomException(string format, params object[] args)
- : base(string.Format(format, args)) { }
- public CustomException(string message, Exception innerException)
- : base(message, innerException) { }
- public CustomException(string format, Exception innerException, params object[] args)
- : base(string.Format(format, args), innerException) { }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement