Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

20
LINES

< > BotCompany Repo | #1022489 // Gazelle Errors

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (9123L/48K).

!7

concept GazelleError {
  S msg;
  S stackTrace;
  S ruleID;
}

cmodule GazelleErrors > DynCRUD<GazelleError> {
  start { addCountToName(); }
  
  // API
  
  void storeError(Throwable e, O... _) {
    nu GazelleError(
      msg := exceptionMessageUnlessEmpty(e),
      stackTrace := getStackTrace(e),
      ruleID := optPar ruleID(_));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022489
Snippet name: Gazelle Errors
Eternal ID of this version: #1022489/4
Text MD5: 3772233776e21cb92963c5b0ca666ced
Transpilation MD5: b8c49030e2bf5d2cb6ca306b361d3e22
Author: stefan
Category: javax / gazelle
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-19 10:40:37
Source code size: 364 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 513
Version history: 3 change(s)
Referenced in: #1022490 - gazelle_errorsModule