Figured out that i dont need to use many exceptions because i can use only one exception with different message, which is more practical i guess. Also renamed TransactionMessage to QueryMessage and wrote validator for the input amount(whether it's bigger  or more accurate)..