• Skip to main content
  • Skip to primary sidebar

Founder at work

Master the skills to create and launch your next SaaS company

  • About Me
  • Reviews
  • Resources
  • Community
  • Contact
  • Lessons
  • Series
  • Search
  • Login

What can go wrong with my program and how to handle it?

September 10, 2013 by Rick Hernandez Leave a Comment

What are some of the problems that my program will encounter well there are some that will be at runtime an other that will be at the logic level. Here is some of the problem that might happen.

  1. IO Errors
  2. Environment Errors
  3. Logic Errors

IO Errors: Anytime receiving input from any type of source can be risky but types of errors could be handle correctly.

Environment Errors:Something that the programmer can not control, for example the memory available for the JVM.

Logic Errors: This are the type of errors that happen in the logic of the application, errors of this type can be found easily with unit code testing.

Java handles Errors in two major ways as an ERROR, Or Exception which derive from Throwable and this is where the getMessage() and printStackTrac() come from.

Screen Shot 2013-09-10 at 7.33.40 AM

 

Rick Hernandez

I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Filed Under: Algorithms, Java, Programming, Testing

Primary Sidebar

Learn How To Take Your Idea And Convert It Into An App From Scratch Even If You Have Never Written A Single Line Of Code.

  • How to Find Your Next Great App Idea
  • The Secret To Getting PAID To Build Your Own App
  • How To Create Your App (SaaS, Mobile, VR, AR, Game)
  • How To Monetize Your Apps
Learn More
4.82 Ratings

Copyright © 2025 · JSecademy Blog Theme on Genesis Framework · WordPress · Log in