|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
swisseph.SwissephException
public class SwissephException
| Field Summary | |
|---|---|
static int |
BEYOND_USER_TIME_LIMIT
Error code, when a user requested time limit has been reached. |
static int |
DAMAGED_FILE_ERROR
Error code, when the file is damaged in any way, which normally means that the content is not what it is expected to be. |
static int |
FILE_ERROR
Any file error. |
static int |
FILE_NOT_FOUND
Error code, when the file could not be found. |
static int |
FILE_OPEN_FAILED
Error code, when the file could not be opened. |
static int |
FILE_READ_ERROR
Error code, when the file could not be read. |
static int |
INVALID_DATE
Error code, when the date is invalid Its current value is PARAM_ERROR + 16384. |
static int |
INVALID_FILE_ERROR
Error code, when the file is not a valid data file. |
static int |
INVALID_FILE_NAME
Error code for invalid filename. |
static int |
INVALID_PARAMETER_COMBINATION
Error code, when the parameter combination is invalid. |
static int |
OUT_OF_TIME_RANGE
Error code, when a calculation would be out of its supported time range. |
static int |
PARAM_ERROR
Error code, when a parameter is not valid. |
static int |
UNDEFINED_ERROR
Default error code, if no other code had been specified. |
static int |
UNSPECIFIED_FILE_ERROR
Unspecified file error. |
static int |
UNSUPPORTED_OBJECT
Error code, when the object is not supported or unknown. |
static int |
USER_ERROR
Error code, when a user requested limit has been reached. |
| Constructor Summary | |
|---|---|
SwissephException(double jdet,
int type,
int rc,
java.lang.String s)
|
|
SwissephException(double jdet,
int type,
int rc,
java.lang.StringBuffer sb)
|
|
SwissephException(double jdet,
int type,
java.lang.String s)
|
|
SwissephException(double jdet,
java.lang.String s)
|
|
| Method Summary | |
|---|---|
double |
getJD()
Returns the julian day number as ET of the current process. |
int |
getRC()
Returns the return code from the underlying original C-source code, which is SweConst.ERR normally. |
int |
getType()
Returns error type. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNDEFINED_ERROR
public static final int FILE_ERROR
public static final int UNSPECIFIED_FILE_ERROR
FILE_ERROR,
Constant Field Valuespublic static final int INVALID_FILE_NAME
FILE_ERROR,
Constant Field Valuespublic static final int FILE_NOT_FOUND
FILE_ERROR,
Constant Field Valuespublic static final int FILE_OPEN_FAILED
FILE_ERROR,
Constant Field Valuespublic static final int FILE_READ_ERROR
FILE_ERROR,
Constant Field Valuespublic static final int DAMAGED_FILE_ERROR
FILE_ERROR,
Constant Field Valuespublic static final int INVALID_FILE_ERROR
FILE_ERROR,
Constant Field Valuespublic static final int PARAM_ERROR
public static final int OUT_OF_TIME_RANGE
PARAM_ERROR,
Constant Field Valuespublic static final int UNSUPPORTED_OBJECT
PARAM_ERROR,
Constant Field Valuespublic static final int INVALID_PARAMETER_COMBINATION
PARAM_ERROR,
Constant Field Valuespublic static final int INVALID_DATE
PARAM_ERROR,
Constant Field Valuespublic static final int USER_ERROR
public static final int BEYOND_USER_TIME_LIMIT
USER_ERROR,
Constant Field Values| Constructor Detail |
|---|
public SwissephException(double jdet,
int type,
int rc,
java.lang.StringBuffer sb)
public SwissephException(double jdet,
int type,
int rc,
java.lang.String s)
public SwissephException(double jdet,
int type,
java.lang.String s)
public SwissephException(double jdet,
java.lang.String s)
| Method Detail |
|---|
public double getJD()
public int getType()
UNDEFINED_ERROR,
FILE_ERROR,
UNSPECIFIED_FILE_ERROR,
INVALID_FILE_NAME,
FILE_NOT_FOUND,
FILE_OPEN_FAILED,
FILE_READ_ERROR,
DAMAGED_FILE_ERROR,
INVALID_FILE_ERROR,
PARAM_ERROR,
OUT_OF_TIME_RANGE,
UNSUPPORTED_OBJECT,
INVALID_PARAMETER_COMBINATION,
INVALID_DATE,
USER_ERROR,
BEYOND_USER_TIME_LIMITpublic int getRC()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||