-
-
Save HamidMosalla/d183e4de9c1ec46835f4871bcd3eaf52 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Serializable()] | |
public class InvalidDepartmentException : System.Exception | |
{ | |
public InvalidDepartmentException() : base() { } | |
public InvalidDepartmentException(string message) : base(message) { } | |
public InvalidDepartmentException(string message, System.Exception inner) : base(message, inner) { } | |
// A constructor is needed for serialization when an exception propagates from a remoting server to the client. | |
protected InvalidDepartmentException(SerializationInfo info, StreamingContext context) { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment