public void Print() { try { State.AddCash(this); } catch (Exception exception) { Error = exception.Message; State = new ErrorState(); State.PrintError(this); } }