Member Avatar
Hi Guys I ran into a bit of a problem with some code I am writing. I am trying to store all possible combinations of a set of numbers which are current being stored in List. Problem is my code run into an out of memory exception, heres my code: …
by ogsirus in Software Development ()
Member Avatar
As part of a class in Java, the constuctor is supposed to throw a java.lang.IllegalArgumentException exception when an integer that is a field in the class, let's call it int N, is set to a negative vale. How do I set this up?
by achava in Software Development ()
Member Avatar
i developing a poster software, when i'm trying to post a link it give the following exception facebook api exception #100-invalid here's my code ...
by mjbor1 in Software Development ()
Member Avatar
Hi, I am trying to use an exception catch properly but I am getting lost and frustrated. I've changed my code so many times and cannot figure out why when it catches the exception it will not let me continue to enter data into the array. It just displays it …
by cd88 -3 in Software Development ()
Member Avatar
hello i am doing my assignment on simple calculator in java.Now I want to handle exceptions in it. so i need some information about exception for exemple a user enter any expression like ... it is corrent formate but when the user enter wrong formate like ... i mean operator …
by moaz.amin.37 -12 in Software Development ()
Member Avatar
Exception message is not showing this message is not showing why?? and this message is showing please help me
by moaz.amin.37 -12 in Software Development ()
Member Avatar
if a program throw 2 exceptions can we handled it by user defined exception.for example the upper code handled an negetive and zero value exception.there exception can occure that throw then how we can handled it. now we will handled two exceptions my question is how two exception handle by …
by moaz.amin.37 -12 in Software Development ()
Member Avatar
Member Avatar
exception is a run time error,then why exceptions are again classified into compile time exception and run time exception,in that case it should be run time exceptions only.please give explanation with suitable real time example
by moaz.amin.37 -12 in Software Development ()
Member Avatar
I recently developed an application and it successfully ran in my computer where I developed. But when I tried to run in my client's system, it returns: The number in the square braces appears randomly. I can't figure out what is the cause for this problem. I created the application …
by Riteman -4 in Software Development ()
Member Avatar
Hello, I am experiencing a very unusual problem. If an exception occurs within my Frm_Load method which handles MyBase.Load, the method simply ends, a nice message is printed to the debug windows explaining the error, and program execution continues. The problem is, I want an error in the Load method …
by Patrick_3 in Software Development ()
Member Avatar
every time i try to run the script i got: Fatal error: Uncaught exception 'EpiTwitterNotAuthorizedException' with message '{"errors":[{"message":"Could not authenticate you","code":32}]}' in /****/EpiTwitter/EpiTwitter.php:254 Stack trace: #0 /*****/EpiTwitter/EpiTwitter.php(217): EpiTwitterException::raise(Object(EpiCurlManager), false) #1 /*****/EpiTwitter/EpiTwitter.php(118): EpiTwitterJson->__get('response') #2 /******/EpiTwitter/EpiTwitter.php(100): EpiTwitter->request('POST', '/statuses/updat...', Array) #3 /*****/fbmain.php(98): EpiTwitter->__call('post_statusesUp...', Array) #4 /*****/fbmain.php(98): EpiTwitter->post_statusesUpdate(Array) #5 /****/index.php(17): in /*****/EpiTwitter/EpiTwitter.php on line …
by kannan mangalar in Web Development ()
Member Avatar
Are exceptions standardized in C++? I mean if the rules of exception handling might be changed in the future. i.e:
by admiri92 in Software Development ()
Member Avatar
I have an assignment for my cps class in which we have to create a program that will import a file from a server that has a bunch of numbers in it. The program is suppose to take those numbers, sort them, give the minimum and maximum value, average, median, …
by havoc0921 in Software Development ()
Member Avatar
I have been plagued by an issue for the past couple of days and I am yet to find a solution. I have an service installed at several customer sites. This service grabs data from a database, packages it up and then submits it to a web service hosted on …
by spuriousgeek 14 in Software Development ()
Member Avatar
Hello all, I am stuck with a nullpointerException at line 41 and 60.Can someone please help me out.any kind of help will be appreciated. Thanks
by simran_4 in Software Development ()
Member Avatar
Hello, I got this question from my quiz : And the answer is : Can somebody tell me the explanation about this ? Thank you
by cakka in Software Development ()
Member Avatar
Quite commonly I see people using one of the Parse routines then catching the exception thrown if the parse fails. This is, in general, a bad practice as throwing an exception is slower than using the corresponding TryParse method. This short snippet shows the routines that I used to measure …
by Momerath 1,327 in Software Development ()
Member Avatar
Hey everyone, I was attempting to get the lastmodified file from a folder, and to do so I used File.listFiles() method which is returning a null pointer exception even though the folder is not empty. I had this piece of code working about two days ago and I am not …
by robgeek in Software Development ()
Member Avatar
Hi All I have googled this exception extensively, and all the discussions I've found seem to be related to file uploading and exceeding the allowed file size limit. In my case however, I am not uploading anything, it is a simple postback. I have a gridview displaying the results of …
by |-|x 126 in Web Development ()
Member Avatar
Hi All, Im trying to learn how to use pdo, and am curious to know how i best can deal with allkind off errors. Lets say there is a typo, or im selecting an non existing row etc etc. In my connection, do I have do set anyting different here: …
by klemme 3 in Web Development ()
Member Avatar
I have a .Net web application where any uncaught exceptions get handled via the Application_Error event in Global.asax. Here, I email myself details of any uncaught exceptions that sneak through. My problem is that while I am getting the error messages just fine, I am not getting the line numbers …
by lysv in Web Development ()
Member Avatar
Hi I have a set of Checkboxes each with a Textbox next it to. I have the following code, which is meant to loop through each CheckBoxe and if checked if gets the text contained in the textbox, these are linked through the tag of the checkbox, i have used …
by STP_Captain_Slo in Software Development ()
Member Avatar
Hi All, Could you please clear my doubt why this second catch block is called when exception is thrown only once.
by mahesh113 in Software Development ()
Member Avatar
I have been working on a conversion project for last few days where I need to convert a Java library to C#. At one point I came to java's certain feature called . Here is a little glimpse of it: For the C# implementation of this code snippet, I searched …
by mesbahuk in Software Development ()
Member Avatar
exception handling
by shubam in Software Development ()
Member Avatar
I am beginner on java and i am having trouble while compiling below given code on CMD. This code is taken from a book.
by sherjaan in Software Development ()
Member Avatar
hi, i have a drop down list populated with column names of tbl_student and a text box for searching specific value coresponding to the value selected in drop down list i do not have much knowlewdge about qureies might b m lacking there error is Incorrect syntax near '=' my …
by de Source in Software Development ()
Member Avatar
hi im new to java.i wrote a simple programme and need a little help.i should enter an int as the input but when i entere a string, it gives an exception. Exception in thread "main" java.lang.NumberFormatException: For input string: i need a dialog box to be appeared when i enter …
by kulith in Software Development ()
Member Avatar
I am a Java developer but out of curiousity I would like to find out why is it not necessary for a method to declare an exception when coding in C++? So does it make C++ a weaker language since it enforces a weaker rule?
by solomon_13000 14 in Software Development ()