Forum Discussion
6 years ago
To echo what ChelleJo said, yeah, you definitely can. The fact that mods can trigger them is more just a helpful aspect of the design of exception handling for the game and for the programming languages it uses. Exception is a term in programming that's more or less synonymous with the word "error."
Here's how wikipedia defines it: "Exception handling is the process of responding to the occurrence, during computation, of exceptions – anomalous or exceptional conditions requiring special processing – often disrupting the normal flow of program execution. It is provided by specialized programming language constructs, computer hardware mechanisms like interrupts or operating system IPC facilities like signals."
So basically it's just a way of reporting that something happened that wasn't supposed to happen that the program noticed and in some cases, preventing that thing that wasn't supposed to happen from cascading into other problems in the program. Often exception handling will attempt to contain an error if it occurs. LastException files are sort of like journalists reporting on stories they find. The program notices an exception, it creates a LastException file with any info it was able to gather about the error, and reports to you in-game that it occurred, as well as making that more permanent record of it happening (the LE file). Those who know enough about how the game works can then interpret the error messages inside and use it to help figure out what went wrong and why.
Here's how wikipedia defines it: "Exception handling is the process of responding to the occurrence, during computation, of exceptions – anomalous or exceptional conditions requiring special processing – often disrupting the normal flow of program execution. It is provided by specialized programming language constructs, computer hardware mechanisms like interrupts or operating system IPC facilities like signals."
So basically it's just a way of reporting that something happened that wasn't supposed to happen that the program noticed and in some cases, preventing that thing that wasn't supposed to happen from cascading into other problems in the program. Often exception handling will attempt to contain an error if it occurs. LastException files are sort of like journalists reporting on stories they find. The program notices an exception, it creates a LastException file with any info it was able to gather about the error, and reports to you in-game that it occurred, as well as making that more permanent record of it happening (the LE file). Those who know enough about how the game works can then interpret the error messages inside and use it to help figure out what went wrong and why.