The tag has no wiki summary.

learn more… | top users | synonyms

-4
votes
0answers
14 views

When I run apache tomcat 7.0 It is showing port 8005 required by tomcat v7.0 server at localhost is already in use [on hold]

When i run tomcat server in eclipse Juno it is showing tomcat serverv7.0 is already in use in local host. But i stopped all the services that are running in local system, and i have seen on command ...
1
vote
1answer
37 views

Request content-type of HTTP errors

HTTP allows for multiple representations of a resource. The Accept header allows the client to choose the representation of the resource. GET /foo/bar HTTP/1.1 Accept: application/pdf GET /foo/bar ...
-8
votes
0answers
38 views

Trouble with Xcode on Windows [closed]

I want to program ios apps, but at the moment I dont have Mac, I installed a Mountain Lion with virtual machine - VM Ware on Windows 7 64-bit; Intel Core i5; 6 GB RAM; ATI Mobility Radeon HD 5650 and ...
1
vote
2answers
107 views

Changing message without redeploying / restarting application

Question: In java application, How to change error message or simple alert text without redeploying / restarting application Closest answers I could think up (1) is to have a new error messages in ...
1
vote
0answers
88 views

Handling and managing error codes

I'm looking for examples of creating, handling and managing error numbers/codes. To understand what I'm takling about, let's take example scenario: (EU - end user, IT - it helpdesk) EU: - (calls IT) ...
-7
votes
3answers
125 views

What's the list of how to precisely talk about problems in C++ code within the spec? [closed]

The C++ specification leaves a lot of leeway such that when you write bad code, compiler authors are not responsible for defining a specific mode of failure. We know of course that is Undefined ...
4
votes
2answers
107 views

How would you approach errors notification?

Recently we had a discussion with my colleagues caused by my intentional attempt to generate user friendly message about occurred error (business logic) at the server side. They insisted on putting ...
0
votes
0answers
33 views

Error messages from Web API, should I use error codes? [duplicate]

I'm developing a Web API. Error messages that are returned from my controllers are currently being displayed directly by the consumer applications. I want to change it so that the consumer is ...
29
votes
4answers
1k views

How much information about an error should be shown to the user?

Applications can always throw errors. If such an error occurs, the user should be notified, because what he asked the application to do has not succeeded. However, how much information should the ...
0
votes
7answers
424 views

Developing only for 64 bit servers a bad idea?

In an attempt to solve one problem I encountered another. I would like to have an easy and memorable way of creating unique error numbers, across projects and across developers. The scheme I came up ...
1
vote
2answers
1k views

Python - assert vs if & return

I am writing a script that does something to a text file (what it does is irrelevant for my question though). So before I do something to the file I want to check if the file exists. I can do this no ...
1
vote
1answer
161 views

Grammar: start: (a b)? a c; Input: a d. Which error correct at position 2? 1. expected “b”, “c”. OR expected “c”

I am writing a parser (a parser generator for PEGs) and am trying to figure out how to report errors. Grammar: rule: (a b)? a c ; Input: a d Question: Which error message correct at position 2 ...
4
votes
2answers
298 views

What layer to introduce human readable error messages?

One of the things that I have never been happy with on any project I have worked on over the years and have really not been able to resolve myself is exactly at what tier in an application should ...
2
votes
1answer
84 views

How do I output an error when I'm determining how to output an error?

I've written an API which can be configured to signal errors in different ways (return values, debugging messages, or exceptions). I've got a check in place when the API is first initialized to see ...
1
vote
1answer
55 views

Messages from UI or from subs?

I am designing a small application that is really justa gui for a command line using vb.net. Question 1. Should messages(msgbox) to the user come from the UI or should messages come from subs and ...
0
votes
2answers
61 views

function level error reporting: to combine/bundle errors or not?

What is in your opinion the best way to handle (at runtime) the situation when a more than one input parameter to a function is incorrect. I can see two ways. First one - a simply return an first ...
1
vote
3answers
220 views

Am I handling my exceptions in a sensible manner?

I'm still restructuring the code I have been given to update on my current work project, and I've come to the point where I'm looking at how the code handles an 'exceptional' input, that doesn't ...
6
votes
1answer
612 views

What is the nicest (user-friendliest) way to tell a user about “Access Denied” error?

Our software implements a layer of role-based security to secure data access, in the form of access control lists. Whenever a user tries to do something that isn't allowed, the software layer will ...
3
votes
3answers
147 views

Choosing a proper wording for referring compiler errors

Consider someone is writing a message (or a question at StackOverflow). The context is following: In my code, I have the following line: int foo = Bar(); However, the compiler returns an ...
3
votes
1answer
696 views

Dealing with API and error messages

We are in the process of constructing an API (using WCF). So far I noticed 2 ways in which methods could go wrong due to problems with the parameters sent. wrong format, for example we have a ...
2
votes
1answer
2k views

web server response code 500

I realize that this may spur a religious discussion, but I discussed this with friends and get great, but conflicting answers and the actual documentation is of little help. What does the 500 series ...
4
votes
1answer
289 views

Using default parameters for 404 error (PHP with mvc design)?

I have a custom made Framework (written in PHP). It all works very good, but i have some doubts about a certain thing. Right now when a user call this url for example: http://host.com/user/edit/12 ...
30
votes
20answers
2k views

How do you tackle really bizarre errors that keep you puzzled for more than 10 hours? [closed]

You know them, those errors that make NO sense. Where it seems like a gremlin just jumped deep inside your chips and messed up something. Do you take a walk, write stuff, call an uncle?
7
votes
4answers
2k views

How important are PHP notices really?

I recently turned all possible error-messages on with error_reporting(-1);, on my PHP project. Of course, right away I got alot of messages. For example: Notice: Undefined variable: foo in ...
10
votes
5answers
401 views

Invert how to teach programming?

I was thinking about the responses to my thread on programming Program like a writer..? and most people agreed that you should have some structure and build from there instead of just typing away. New ...
6
votes
4answers
2k views

How do you assign error codes?

How, when developing a medium sized project, do you identify, create and maintain error codes? I for the life of me can't think of a simple and clean method of doing so. Some of my ideas convert ...
2
votes
5answers
356 views

What is the proper response to lousy error message?

I've just come across (for the 47 millionth time) some code that looks like this: except IOError, e: print "Problems reading file: %s." % filename sys.exit( 1 ) My first reaction is very ...
2
votes
2answers
193 views

Crash and error report to developer [from user perspective]: Some questions

I have some questions regarding whether to crash or report errors to the user. We are developing a web site and mobile clients in which we allow our users to report any bugs and crashes through ...
14
votes
3answers
3k views

Why are C++ template error messages so horrific?

C++ templates are notorious for generating long, unreadable error messages. I have a general idea of why template error messages in C++ are so bad. Essentially, the problem is that the error isn't ...
11
votes
7answers
776 views

Do you read C or C++ compile errors after the first one?

I never understood why C and C++ compilers try to recover from errors and continue parsing. Almost always, the first error generates a stream of bogus errors that will disappear as soon as the first ...
1
vote
1answer
213 views

Translating error messages from an external API?

If I am localizing a piece of software that uses an external API, how should I handle error messages that originate in this API? I do not control the API, I only consume it. The error responses are ...
5
votes
4answers
399 views

Multi-lingual error messages and error numbers

So we're looking at the possibility of porting our software to support multiple languages and one of the areas we're going to have to deal with is error messages and other notifications. These ...
5
votes
2answers
127 views

Test descriptions/name, say what the test is? or what it means when it fails?

The API docs for Test::More::ok is ok($got eq $expected, $test_name); right now in one of my apps I have $test_name print what the test is testing. So for example in one of my tests I have set this ...
16
votes
9answers
623 views

Under what circumstances should error messages be presented to the user?

Should error messages ever be presented to an end user and if so what rules or advice should you have about what should be in them?
15
votes
8answers
4k views

Why do many PHP Devs hate using isset() and/or any of PHP's similarly defensive functions like empty()?

Over on stackoverflow, I see this issue crop up all the time: E_NOTICE ?== E_DEBUG, avoiding isset() and @ with more sophisticated error_handler How to set PHP not to check undefind index for ...
7
votes
5answers
684 views

exclamation points in error messages [closed]

What do you think about using exclamation points in error messages? i.e. "The address is not valid!". Personally, I think it adds nothing, insults the user, and makes the product look like it was ...
22
votes
10answers
918 views

Why do new programmers seem to ignore compiler error messages/runtime exception messages? [closed]

I think we’ve all seen this. Beginners ask questions on Stack Overflow that follow the basic outline... I’m trying to do (very vague description of the goal) but it doesn’t work/I get an ...