Catch-all is a mail server configuration to forward all incoming email to one domain and redirect it to a specific recipient.
Questions tagged [catch-all]
70 questions
173
votes
8 answers
nginx server_name wildcard or catch-all
I have an instance of nginx running which serves several websites. The first is a status message on the server's IP address. The second is an admin console on admin.domain.com. These work great. Now I'd like all other domain requests to go to a…

Tak
- 11,428
- 5
- 29
- 48
62
votes
13 answers
Entity Framework Caching Issue
I am new to Entity Framework.
I have get to some values in my database using EF. It returns perfectly, and the values are shown in labels. But When I delete all values in my table (without using EF), the EF query is returning my old values. I know…

Ramesh Rajendran
- 37,412
- 45
- 153
- 234
60
votes
9 answers
Spring catch all route for index.html
I'm developing a spring backend for a react-based single page application where I'm using react-router for client-side routing.
Beside the index.html page the backend serves data on the path /api/**.
In order to serve my index.html from…

oli
- 691
- 1
- 8
- 13
41
votes
3 answers
Catching all exceptions in Python
In Python, what's the best way to catch "all" exceptions?
except: # do stuff with sys.exc_info()[1]
except BaseException as exc:
except Exception as exc:
The catch may be executing in a thread.
My aim is to log any exception that might be thrown…

Matt Joiner
- 112,946
- 110
- 377
- 526
19
votes
2 answers
Is there such a thing as a catch-all key for a javascript object?
Considering the following javascript example:
var myobj = { func1: function() { alert(name in this) },
func2: function() { alert(name in this) },
func3: function() { alert(name in this) }
}
myobj.func2(); //…

user113716
- 318,772
- 63
- 451
- 440
14
votes
4 answers
PHP - catchall method in a class
Is there away to set up a class so that if a method is not defined, instead of throwing an error it would go to a catch-all function?
such that if i call $myClass->foobar(); but foobar was never set in the class definition, some other method will…

changokun
- 1,563
- 3
- 20
- 27
9
votes
5 answers
Create a Catch-All Handler in PHP?
I want to have a PHP file catch and manage what's going to happen when users visit:
http://profiles.mywebsite.com/sometext
sometext is varying.
E.g. It can be someuser it can be john, etc. then I want a PHP file to handle requests from that…

Registered User
- 8,706
- 9
- 32
- 40
9
votes
4 answers
Catch all exceptions in Scala 2.8 RC1
I have the following dummy Scala code in the file test.scala:
class Transaction {
def begin() {}
def commit() {}
def rollback() {}
}
object Test extends Application {
def doSomething() {}
val t = new Transaction()
t.begin()
try {
…

Michel Krämer
- 14,197
- 5
- 32
- 32
8
votes
2 answers
Asp.net MVC Route class that supports catch-all parameter anywhere in the URL
the more I think about it the more I believe it's possible to write a custom route that would consume these URL definitions:
{var1}/{var2}/{var3}
Const/{var1}/{var2}
Const1/{var1}/Const2/{var2}
{var1}/{var2}/Const
as well as having at most one…

Robert Koritnik
- 103,639
- 52
- 277
- 404
8
votes
2 answers
How to detect if domain has catch all policy to accept email?
I am almost done with a tool to detect if email is valid or not. I am stuck at small point where I have to detect If mail server or domain has catch-all policy enable.
Catch all: mail server will accept all email even if email address do not…

Justin
- 81
- 1
- 2
8
votes
3 answers
MVC 4 catch all route never reached
When attempting to create a catch all route in MVC 4 (something I've found several examples of, and based my code on) it returns a 404 error. I'm running this on IIS 7.5. This seems like a straight forward solution, so what am I missing?
One note,…

gsxrboy73
- 1,382
- 14
- 19
6
votes
3 answers
Catch exceptions in javax.swing application
I'm working with javax.swing to make an aplication which generates forms from XML Schema (using JAXFront library) and stores the data filled by the user them into XML documents.
I have put try-catch-finally blocks when I need it, but I have a little…

Charliemops
- 749
- 12
- 30
6
votes
3 answers
Catch-All global exception handler in App Engine for Python
Is it possible to create a catch-all global exception handler in Google App Engine using Python?
Basically, I want to catch all un-caught exceptions and gracefully handle it, while sending an email with the traceback to me.
Currently, for all…

Derick
- 63
- 1
- 4
6
votes
1 answer
Equivalent of System.Windows.Forms.Application.ThreadException for Console application or windows service or any process in general
In WinForms I use:
System.Windows.Forms.Application.ThreadException
System.Windows.Application.UnhandledException
What should I use for non-Winforms multi-threaded application?
Consider the complete code below in C# .NET 4.0:
using System;
using…

Eiver
- 2,594
- 2
- 22
- 36
5
votes
2 answers
Rails 3: making a catch-all route easier to read and amend
I'm trying to write a catch-all route in Rails 3, but I want to reserve some terms in it. I'm specifically following the example put forth in this post, in the answer by David Burrows: Dynamic routes with Rails 3
The syntax I am using is the…

Kevin Whitaker
- 12,435
- 12
- 51
- 89