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

11
LINES

< > BotCompany Repo | #1034249 // TimeoutException

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5478L/30K).

1  
srecord noeq TimeoutException(double timeoutSeconds,
2  
  O function,
3  
  Thread thread) extends RuntimeException {
4  
5  
  // !customConstructor
6  
  *(double *timeoutSeconds,
7  
    O *function,
8  
    Thread *thread) {
9  
    super("Timeout after " + iceil(timeoutSeconds) + "s by " + shorten_str(function), exceptionForTimeoutedThread(thread));
10  
  }
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034249
Snippet name: TimeoutException
Eternal ID of this version: #1034249/18
Text MD5: 7c7b5c346e3f9cd384c2c62566402b48
Transpilation MD5: b236234e6b2ee9e725cde1a85d8aac0d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-11 03:29:23
Source code size: 342 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 287
Version history: 17 change(s)
Referenced in: [show references]