Advertisement
svetlyoek

Untitled

Jul 8th, 2019
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. namespace PizzaCalories.ExceptionMessages
  2. {
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. public static class Exception
  7. {
  8. public static string invalidDoughTypeException = "Invalid type of dough.";
  9.  
  10. public static string invalidDoughWeightException = "Dough weight should be in the range [1..200].";
  11.  
  12. public static string invalidPizzaNameException = "Pizza name should be between 1 and 15 symbols.";
  13.  
  14. public static string invalidToppingNumberException = "Number of toppings should be in range [0..10].";
  15.  
  16. public static string invalidToppingWeightException = $"{0} weight should be in the range [1..50].";
  17.  
  18. public static string invalidToppingNameException = $"Cannot place {0} on top of your pizza.";
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement