Skip to content
Stack Code Review
Question and answer site for peer programmer code reviews.
MENU
  • HOME

Tag: error-handling

Handling multiple try-catches in a for loop

By mariaPosted on March 27, 2023

Problem Good day! I would like to know if this is possible to be refactored into a cleaner code. The […]

Retry storing HTTP response into a variable until specific code

By mariaPosted on March 25, 2023

Problem I want to keep trying to get response until its code is 200 or unknown yet. In first case […]

String find and replace method optimization

By mariaPosted on March 25, 2023

Problem I am trying to find a specific header string from different Maps (LEDES1998Bheaders, LEDES98BIheaders and LEDES98BI_V2headers) in an errorMessage […]

PHP function to check if something valid or return error message [closed]

By mariaPosted on March 24, 2023

Problem Closed. This question is off-topic. It is not currently accepting answers. Lacks concrete context: Code Review requires concrete code […]

Should my Json storage handle exceptions?

By mariaPosted on March 22, 2023

Problem I made a class to conviniently serialize/deserialize data. Now I’m stuck with the following question. Should I handle exceptions […]

Dynamic module import in Python with exception handling

By mariaPosted on March 10, 2023

Problem import nltk req_modules = {‘from nltk import punkt’: ‘punkt’, ‘from nltk.corpus import stopwords’: ‘stopwords’, ‘from nltk import pos_tag’: ‘averaged_perceptron_tagger’, […]

Extensive use of exception for database wrapper

By mariaPosted on March 7, 2023

Problem My favourite programming language is Java and I usually use JDBC for database operations. I’m using Swift for one […]

Lower level exception handling during enumeration

By mariaPosted on February 15, 2023

Problem I’ve got pretty straight forward scenario. I’ve got a class called FileInformationExtractor and method GetFilesInformation that takes directory path […]

Reading files and displaying their content

By mariaPosted on February 9, 2023

Problem I’m writing a program to read two files supplied as arguments in the command line, convert them from list […]

Simplifying asynchronous “executeAsync” method along with “onFailure” callback

By mariaPosted on January 31, 2023

Problem I have a system in which user id is “sharded” across all the machines which means each machine is […]

  • 1
  • 2
  • 3
  • …
  • 28

Recent Posts

  • Credit card validator in Python
  • Custom delete method refactoring
  • Pull, Tag, Save, Delete Multiple Docker Containers
  • Beginner number guessing game in Java
  • Regrouping JSON object
  • Calculating company-wise total expenses
  • Implementing basic sorting in Python
  • VBA performance with Early Bind vs. Late Bind on called Sub-procedure
  • Minimalist accordion implementation using vanilla JavaScript
  • Using python and beautifulsoup to iterate through a list of websites to find a particular string
  • Helper class for accessing blobs and mmap memory
  • Selectively printing elements on web page using a bookmarklet
  • Object-oriented calorie counter
  • Accumulate ids to make a single ajax request
  • Class/event schedule calendar

Categories

  • .Net
  • Algorithm
  • Android
  • Array
  • Bash
  • C#
  • Console
  • CSS
  • Haskel
  • Html
  • Java
  • Javascript
  • JSON
  • MySQL
  • Node Js
  • Object Oriented
  • Parsing
  • Php
  • Programming Chalenge
  • Python 3
  • React JS
  • Recursion
  • Regex
  • Ruby
  • Security
  • Sorting
  • SQL
  • Strings
  • Swift
  • VBA
Proudly powered by WordPress / Theme: Superfast