Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace VideoGalore.Models.Error
- {
- public abstract class Exceptions : Exception
- {
- public Exceptions (String message) : base(message){
- }
- }
- public class UserNotFoundException : Exceptions
- {
- public UserNotFoundException() : base("No user with that id found")
- {
- }
- public UserNotFoundException(string message) : base(message)
- {
- }
- }
- public class TapeNotFoundException : Exceptions
- {
- public TapeNotFoundException() : base("No tape with that id found")
- {
- }
- public TapeNotFoundException(string message) : base(message)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement