Questions tagged as 'excepciones'

1
answer

Capture KeyboardInterrupt

I'm doing a aplicación cli and I need to capture a KeyboardInterrupt at any point in the execution of the program.    My intention is to delete some folders / files that could have   be generated. Is there any solution cr...
asked by 20.10.2017 / 18:48
1
answer

Control event TimeOut in VB.NET

I am doing a query towards a webservice with VB.NET which will return me if the mail was successfully validated or if the email is invalid. When you send it to call it stays like this: Public Shared Function verificaremail(ByVal email As Str...
asked by 26.05.2017 / 18:32
1
answer

Exception using Jaxb to build CDATA from my own bean

I have a problem trying to build a CDATA-XML from a created bean, the idea of the extends is that any bean can be converted since there will be several "templates" this is the code: Bean: TemplateGenerica public class PlantillaGenerica ex...
asked by 16.04.2017 / 17:34
1
answer

Errors and exceptions

def get(rule_name,parameter_name): try: with open("parameters.txt", "r") as infile: for line in infile: if line.startswith(rule_name.lower()) and line.split(":")[1] == parameter_name.low...
asked by 18.07.2018 / 11:29
0
answers

I have problems with the rowsorter component, #java

I have a problem with the rowsorter component, I explain: I have a module with a query via JcomboBox , filled JTable (the JTable is within a JScrollPane ) with that query and I have a JtextField to find...
asked by 11.05.2018 / 22:05
1
answer

Problem with ClassCastException

I'm having a problem with reading / writing objects in java using ObjectInputStream. The case is the following, I want to store in a file a series of objects of different type (different classes that inherit from it). But the point is that I wan...
asked by 12.04.2018 / 23:50
1
answer

Is it possible to capture errors when we use fopen / fwrite in PHP?

I was doing tests with a code that uses PHP's fopen function to handle a file and fwrite to write within the open file. This is the code. It is about writing a set of results from the database in the file: $arrDatos = $stm...
asked by 25.01.2018 / 15:26
1
answer

Postgresql consultations with Sequelize stop working suddenly

I am currently in charge of a system developed in NodeJS, which uses PostgreSQL as a database, and we access it using the Sequelize ORM, all this in the Heroku platform. The problem I face is that, at a certain point, I tried to make a new de...
asked by 10.03.2017 / 14:54
1
answer

Error in android Caused by: libcore.io.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)

I am making an application that sends an image to a server but at the time of sending it I get an error. I have to send it via 3G / 4G and I can not do it ... it's a public ip Here my code URL url = new URL(webAddressToPost);...
asked by 12.11.2016 / 04:19
0
answers

Java EJB API REST - Handling Exceptions Databse PostgreSQL

I am continuing a project that I have not started and I have to follow some guidelines. I'm having problems with exception handling, I put the code and then I ask: The project consists of several "projects in Java", I will name only those tha...
asked by 23.08.2016 / 19:54