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