public enum LSErrorCode extends java.lang.Enum<LSErrorCode>
Enum Constant and Description |
---|
Api
Code used for errors related to API functions.
|
Callback
Code used when an error is encountered in a user callback.
|
Cloud
Code used when an error is encountered while using the cloud service.
|
File
Code used when an error related to input/output operations occurs.
|
Internal
Internal LocalSolver error.
|
License
Code used when a problem related to licensing occurs.
|
Model
Code used when a problem related to the structure of the model occurs.
|
Modeler
Code used when an error is encountered in the modeler.
|
Solver
Code used when a problem occurs during the resolution.
|
Modifier and Type | Method and Description |
---|---|
static LSErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LSErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LSErrorCode Api
public static final LSErrorCode File
public static final LSErrorCode Model
public static final LSErrorCode Callback
public static final LSErrorCode License
public static final LSErrorCode Solver
public static final LSErrorCode Internal
public static final LSErrorCode Modeler
public static final LSErrorCode Cloud
public static LSErrorCode[] values()
for (LSErrorCode c : LSErrorCode.values()) System.out.println(c);
public static LSErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null