$darkmode
DENOPTIM
denoptim.integration.tinker.TinkerException Class Reference

Exceptions resulting from a failure of Tinker. More...

Inheritance diagram for denoptim.integration.tinker.TinkerException:
[legend]
Collaboration diagram for denoptim.integration.tinker.TinkerException:
[legend]

Public Member Functions

 TinkerException (String errMsg, String taskName)
 Constructor for an exception resulting from a failure of Tinker. More...
 

Public Attributes

String taskName = "notSpecified"
 Identification of the task that caused the failure. More...
 
String solution = ""
 Proposed solution to the failure, or empty string. More...
 

Private Member Functions

void interpreteMsg ()
 Reads the message and trying to find a match in the map of solutions to known problems. More...
 

Static Private Attributes

static final long serialVersionUID = 3L
 Version ID. More...
 

Detailed Description

Exceptions resulting from a failure of Tinker.

Definition at line 25 of file TinkerException.java.

Constructor & Destructor Documentation

◆ TinkerException()

denoptim.integration.tinker.TinkerException.TinkerException ( String  errMsg,
String  taskName 
)

Constructor for an exception resulting from a failure of Tinker.

Parameters
errMsgthe error message from Tinker.
taskNamean identification of the task that Tinker was supposed to perform when it failed.

Definition at line 51 of file TinkerException.java.

References denoptim.integration.tinker.TinkerException.interpreteMsg(), and denoptim.integration.tinker.TinkerException.taskName.

Here is the call graph for this function:

Member Function Documentation

◆ interpreteMsg()

void denoptim.integration.tinker.TinkerException.interpreteMsg ( )
private

Reads the message and trying to find a match in the map of solutions to known problems.

Definition at line 64 of file TinkerException.java.

References denoptim.integration.tinker.TinkerConstants.KNOWNERRORS, and denoptim.integration.tinker.TinkerException.solution.

Referenced by denoptim.integration.tinker.TinkerException.TinkerException().

Here is the caller graph for this function:

Member Data Documentation

◆ serialVersionUID

final long denoptim.integration.tinker.TinkerException.serialVersionUID = 3L
staticprivate

Version ID.

Definition at line 31 of file TinkerException.java.

◆ solution

String denoptim.integration.tinker.TinkerException.solution = ""

Proposed solution to the failure, or empty string.

Definition at line 41 of file TinkerException.java.

Referenced by denoptim.integration.tinker.TinkerException.interpreteMsg(), and denoptim.programs.moldecularmodelbuilder.MolecularModelBuilder.runProgram().

◆ taskName

String denoptim.integration.tinker.TinkerException.taskName = "notSpecified"

Identification of the task that caused the failure.

Definition at line 36 of file TinkerException.java.

Referenced by denoptim.integration.tinker.TinkerException.TinkerException().


The documentation for this class was generated from the following file: