std::logic_error
De cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Defined in header <stdexcept>
|
||
class logic_error; |
||
Define un tipo de objeto que se lanza como una excepción. Se informa de los errores que son consecuencia de una lógica defectuosa en el programa, tales como una violación de las condiciones previas lógicas o invariantes de clase y se puede prevenir .
Original:
Defines a type of object to be thrown as exception. It reports errors that are a consequence of faulty logic within the program such as violating logical preconditions or class invariants and may be preventable.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Las funciones miembro
construye el objeto de excepción Original: constructs the exception object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) |
Inherited from std::exception
Member functions
[virtual] |
destructs el objeto de excepción Original: destructs the exception object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Virtual Member público of std::exception función)
|
[virtual] |
devuelve una cadena explicativa Original: returns an explanatory string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Virtual Member público of std::exception función)
|