Package rasj
Class RasIllegalULongValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rasj.RasRuntimeException
rasj.RasIllegalULongValueException
- All Implemented Interfaces:
Serializable
PURPOSE: This exception is thrown if aRasMArrayLongis trying to be sent to the server where one or more cell values exceed 2^32 or are negative. Such cell values are illegal because the ODMG standard restricts unsigned long values in C++ (i.e. in the RasDaMan server) to 4 bytes, whereas java long values have 8 bytes.Although in this case the server would store only the least 4 bytes of the cell value without throwing an exception, the java client interface does not allow sending such illegal long values in order to enforce application integrity.
- See Also:
-
Field Summary
Fields inherited from class rasj.RasRuntimeException
errNo, errText -
Constructor Summary
ConstructorsConstructorDescriptionRasIllegalULongValueException(long illegalLongValue) Standard constructor getting the illegal long value -
Method Summary
Methods inherited from class rasj.RasRuntimeException
getErrNoMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RasIllegalULongValueException
public RasIllegalULongValueException(long illegalLongValue) Standard constructor getting the illegal long value- Parameters:
illegalLongValue- the cell value that caused the error
-
-
Method Details
-
getMessage
Returns the error message.- Overrides:
getMessagein classRasRuntimeException- Returns:
- the error message.
-