Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace PizzaCalories.ExceptionMessages
- {
- using System;
- using System.Collections.Generic;
- using System.Text;
- public static class Exception
- {
- public static string invalidDoughTypeException = "Invalid type of dough.";
- public static string invalidDoughWeightException = "Dough weight should be in the range [1..200].";
- public static string invalidPizzaNameException = "Pizza name should be between 1 and 15 symbols.";
- public static string invalidToppingNumberException = "Number of toppings should be in range [0..10].";
- public static string invalidToppingWeightException = $"{0} weight should be in the range [1..50].";
- public static string invalidToppingNameException = $"Cannot place {0} on top of your pizza.";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement