...
Code Block |
---|
|
if ($shitHappened && $itWasMyFault) {
//There are change Markers in the sdlxliff-file which are not supported! → there should be a brief comment to explain what is going wrong
throw new editor_Models_Import_FileParser_Sdlxliff_Exception('E1003', [ // → The exception receives just the EventCode and an array with extra data
'task' => $this->task,
'filename' => $this->_fileName,
]);
} |
Exception Hierarchie
Image Added
View file |
---|
name | Error Logging Refactoring.odp |
---|
height | 150 |
---|
|
EventCodes
The EventCodes used in exceptions and other logging usages are defined via the ErrorCodes listed and maintained in confluence..
...