public class LSException
extends java.lang.RuntimeException
Modifier and Type | Method and Description |
---|---|
LSErrorCode |
getErrorCode()
Returns the error code associated to this exception.
|
java.lang.String |
getExplanation()
Gets the explanation about the exception.
|
java.lang.String |
getFileName()
Gets the name of the LocalSolver source file where the exception is
thrown.
|
java.lang.String |
getFunctionName()
Gets the name of the function where the exception is thrown.
|
int |
getLineNumber()
Gets the line number in the LocalSolver source file where the exception
is thrown.
|
java.lang.String |
getMessage()
Returns a String message with all useful info about the current
exception.
|
java.lang.String |
toString()
Same as getMessage().
|
public java.lang.String getFileName()
public int getLineNumber()
public java.lang.String getFunctionName()
public java.lang.String getExplanation()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public LSErrorCode getErrorCode()
public java.lang.String toString()
toString
in class java.lang.Throwable