Questions tagged [httpexception]

HttpException or HTTPException are exception classes defined by various object oriented libraries that signal a problem during processing of a http request.

There is a HttpException in the System.Web namespace of .Net, another one in Apache Commons and a HTTPException in JAX-WS

160 questions
0
votes
1 answer

How to use custom middleware with Laravel 404 exception

In my Laravel 5.2 app I have custom middleware called 'cart' that I use to keep track of the users cart contents across different routes. It looks like this: class CartMiddleware { public function handle($request, Closure $next) { …
zeros-and-ones
  • 4,227
  • 6
  • 35
  • 54
0
votes
1 answer

MethodNotAllowedHttpException in RouteCollection.php

I am trying to Pass some values from two text boxes in login.blade.php to the testController and echo the values.Iam getting "Method Not Allowed Exception error" I can't understand why , Please tell me what wrong have i done.. the Flow is…
0
votes
1 answer

'System.Web.HttpException' Additional information: Unable to connect to SQL Server database

LTL; FTP here. I'm doing an eCommerce site following Shakeel Osmani's Tutorial here. The issue arises when I try to register a new user in the website, it throws an "'System.Web.HttpException' Additional information: Unable to connect to SQL Server…
0
votes
1 answer

http 403 exception not displaying properly

I have implemented a set of rules but when a user attempts to access a restricted area, I am getting a text output instead of a nice boostrap alert. How can I get this working again? Rule: public function behaviors() { return [ 'access'…
DrBorrow
  • 950
  • 12
  • 24
0
votes
1 answer

Embedded Jetty 9 HttpException equivalent?

We are Upgrading to Jetty 9 from Jetty 6, but in our previous code we are throwing org.eclipse.jetty.http.HttpException, but I see that this Class is removed in 9.x. Is there any equivalent of this class or should I define a new class with the same…
0
votes
1 answer

Error in passing argument to a controller function in laravel

I am trying to pass a variable $id to Controller function in routes file. Following are the snippets from the respective files: Routes.php Route::get('/news-post/{$id}', 'BlogController@getPost'); BlogController.php public function getPost($id) …
aMighty
  • 283
  • 4
  • 11
0
votes
1 answer

Is it possible to keep PHP script running even after HTTP 500 Internal Server Error?

I am facing problem in handling "HTTP 500 Internal Server Error" in my PHP web application. My web app is hitting multiple external web services in loop and if any one of them is getting above error, my script is terminated without executing other…
tejas033
  • 175
  • 1
  • 1
  • 8
0
votes
1 answer

HTTP Deadline exceeded waiting for python Google Cloud Endpoints on python client localhost

I want to build a python client to talk to my python Google Cloud Endpoints API. My simple HelloWorld example is suffering from an HTTPException in the python client and I can't figure out why. I've setup simple examples as suggested in this…
0
votes
0 answers

HTTP Status 500 - Internal Server Error in enterprise java beans deployment

HTTP Status 500 - Internal Server Error when trying to deploy a web application using enterprise java beans in netbeans running glassfish server HTTP Status 500 - Internal Server Error Type: Exception report Message: Internal Server…
Real Ars
  • 1
  • 2
0
votes
1 answer

DebugDiag configuration for catching specific HttpException

Does anyone have any experience with setting up DebugDiag to trigger on a specific HttpException? The advanced configuration only allows you to specify the .NET type of the exception, while HttpExceptions are very generic and are used for anything…
Mattias Nordberg
  • 1,748
  • 1
  • 11
  • 9
0
votes
1 answer

System.Web.HttpException / Converting code to proper MVC architecture

My team have been working on building a comment section for a school project and render it in a partial view. This is the solution that I came up with: On Index page: @Html.Partial("StatusWall", new…
0
votes
2 answers

javascript in ascx page throwing HTTPexception