public final class Intractable extends CDKException
Constructor and Description |
---|
Intractable(String message)
Create a new exception with the specified message.
|
Modifier and Type | Method and Description |
---|---|
static Intractable |
timeout(long t)
Utility for creating a message which indicates an operation timed out
after a given time in milliseconds,
t . |
static Intractable |
timeout(String desc,
long t)
Utility for creating a message which indicates an operation timed out
after a given time in milliseconds,
t . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Intractable(String message)
message
- a messagepublic static Intractable timeout(long t)
t
. The message is of the
format - "Operation did not finish after {t} ms".t
- time in millisecondspublic static Intractable timeout(String desc, long t)
t
. A description of the
operation can be provided. The message is of the format - "{desc} did not
finish after {t} ms".desc
- description of the operationt
- time in millisecondsCopyright © 2021. All rights reserved.