Posts

java - How to get a list of all possible exceptions that could happen within a specific scope -

मेरे पास एक वर्ग class_A एक अन्य वर्ग class_B से निपटना है HTTP और JSON से निपटने वाले अन्य ऑब्जेक्ट के लिए कॉल के साथ तरीके हैं अब मैं इन अपवादों को class_B के भीतर नहीं लेना चाहता बल्कि बल्कि एक उच्च स्तर पर और इस तरह उन्हें throw code e से class_A के माध्यम से आगे बढ़ाना चाहता हूं। अब मैं सोच रहा हूं कि जब मेरे वर्ग ए को class_B की एक विधि के आसपास कॉल करने के लिए कोशिश / पकड़ कैसे मैं सभी संभावित अपवाद प्राप्त कर सकता हूँ उस पद्धति या उप-वर्गों (जैसे कि HTTP और JSON) की विधियों से अग्रेषित किया जा सकता है। पसंदीदा होगा सीधे एक्लिप्से में संभावित अपवाद प्राप्त करने के लिए, लेकिन अन्य समाधानों की भी सराहना की जाती है। (कृपया मुझे बताएं कि मेरी समस्या का विवरण स्पष्ट नहीं है।) अपडेट: मैं जो देख रहा हूं वह वास्तविक क्रियान्वयन नहीं है, बल्कि संभावित अपवादों की एक सूची है, इसलिए मैं देख सकता हूं और तय किया है कि किस मामलों में मुझे एक विशिष्ट कैच ब्लॉक बनाना चाहिए और किस अपवाद को एक सामान्य कैच ब्लॉक द्वारा नियंत्रित किया जा सकता है। इसे प्राप्त करना अस...

Software that can read an RSS feed and re-publish it on a new URL -

For various reasons, I'm looking for a feature or feed reader that can read the RSS feed sitting on the server. URL and republish it on new URL. Free tools are better, obviously I can also do my own code but I think that this should be the current device to do so, but my googling has not done so much yet. . Make a polling service that checks RSS feeds, which is a PHP RSS feed reader and publisher I use FeedForAll, but you have to do it yourself for voting.

What is the best way to validate XML against XML Schema, parsing it and storing data back to MySQL Database using Perl? -

Currently I am working with XML and I want to know that to validate XML against XML Schema What would be the best way, parse it and keep it again using Perl in MySQL database? I think the XML :: for the purpose of parsing Xerces, but it is not certain that this is the correct approach Note: I have a very large XML file of 1 GB Shape. XML excerpts will match your needsI'm using it and I really like it. In addition to your first edit: Since your XML file is very large, you have to consider optimizing many parsing process Add another : If you do not want to write simple XML in your database ... it is important that you have a look at your data, because your validation is outdated when you have written it in a different database in the database . Make sure that you are valid with a good plan and some additional assumptions, the larger XML can sometimes be tricky.

actionscript 3 - How do you handle live video streaming in Flash AS3? -

I am dubbed the socket server in Java and now I am ready to wet my feet with an idea. . I would like to use a python for my socket server and obviously I am able to make a full chat using ASL 3 for my client, using my own python socket server, but now I Do not know what to do that I want to add to the live video (want to "chat" a live video) I have found the tutorial, but they are for FMS and I can not afford it, Red5 also looked good, but could not get a live video tutorial with hand (and I could not find myself on Red5 Switch the socket server itself). So if someone can push me on some of these resources (subject to live video without using FMS), which would be very useful, Google is still failing me. Some FMS server options ... about their features, they need to be checked individually - - - - Errang - Ruby - C ++ - C ++ - C ++

javascript - Is there a way to get a Telerik RadEditor to not show the toolbar by default when editor.set_html(value) is called in ShowOnFocus mode? -

I am trying to simulate keypresses and clicks in jQuery, which work to blur the toolbar in IE6 But Firefox seems to be open to stay open Is there a way to blur the editor or some people I'm missing, which makes it so much that it stole the focus And shows toolbar by default? This is updating because I am calling editor.set_html (value); Event for OnClientLoad () editor. set_html () function? After going a long way, I found out: When the set_html () method is removed, the operation is added to the undo list. Therefore, instead of using using instead of editor.set_html (value), use the internal HTML attribute of the editor's content area to use Should> editors.gate_contentArea (). InnerHTML = value; and now the Toolbar does not open by default!

How do you store an image(itself not the path) in a javascript varialble and then render it to the web page using javascript also (all process shoul be client-side)? -

I am trying to find a way to put a small JPG in a JavaScript variable so that it sings on a webpage Could. Although I think it should be possible I do not know at all how to go about this. That's why everyone should be in the client-side. > Does anyone have to do this? Thank you in advance Mario this is helpful Could.

c++ - CMake Visual Studio linking executable with static library -

I have a very simple (currently only one main.cpp) CMake C ++ project which I have both Mac OS X And Windows depends on this libgsasl, which I have compiled on both platforms as a stable library. There is no problem in Mac OS X, and does not complain during windows build and produces an EXE when I try to run XES on Windows, it gives an error message This application can not run because it can not get libgsasl.dll. I am also not trying to link against dynamic library, just static library (.lib version). Am I forgetting something? It seems that in the visual studio, the gsasl.lib file is found and is included in the linking command. These include an MS library, either an .lib or an import library in the actual library or actual DLL. May be. You can use the dumpbike to peek into the library to see the actual type. There are a few different ways to handle the details, but using my preferred technique / summary option will be section in an import library. Edata $ n (where N i...