{"id":5068,"date":"2014-03-30T18:32:24","date_gmt":"2014-03-30T18:32:24","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/difference-between-system-exitint-code-and-runtime-getruntime-exitint-code-collection-of-common-programming-errors\/"},"modified":"2014-03-30T18:32:24","modified_gmt":"2014-03-30T18:32:24","slug":"difference-between-system-exitint-code-and-runtime-getruntime-exitint-code-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/difference-between-system-exitint-code-and-runtime-getruntime-exitint-code-collection-of-common-programming-errors\/","title":{"rendered":"Difference between System.exit(int code) and Runtime.getRuntime().exit(int code)-Collection of common programming errors"},"content":{"rendered":"<p>The call <code>System.exit(int status)<\/code> is effectively equivalent to the call: <code>Runtime.getRuntime().exit(int status)<\/code><\/p>\n<p><code>System.exit(int status)<\/code>, terminates the currently running Java Virtual Machine. The argument serves as a status code; by convention, a nonzero status code indicates abnormal termination. <strong>This method calls the exit method in class Runtime.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The call System.exit(int status) is effectively equivalent to the call: Runtime.getRuntime().exit(int status) System.exit(int status), terminates the currently running Java Virtual Machine. The argument serves as a status code; by convention, a nonzero status code indicates abnormal termination. This method calls the exit method in class Runtime.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5068","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5068"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5068\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}