.
*/
/** ***********************************************************
*
*
* PURPOSE:
* This exception is thrown if the result of an operation is no cell. This might happen
* if the cast operator for casting to the base type of class r_Marray is invoked
* on an object which is not 'zero-dimensional'.
* @version $Revision: 1.5 $
*
*
*
* COMMENTS:
*
*
*********************************************************** */
public class RasResultIsNoCellException extends RasException
{
static final String rcsid = "@(#)Package rasj, class RasResultIsNoCellException: $Header: /home/rasdev/CVS-repository/rasdaman/java/rasj/RasResultIsNoCellException.java,v 1.5 2003/12/10 21:04:23 rasdev Exp $";
/**
* Standard constructor.
**/
protected RasResultIsNoCellException()
{
super(RasGlobalDefs.RESULT_IS_NO_CELL);
}
/**
* Returns the error message.
* @return the error message.
**/
public String getMessage()
{
if(super.getMessage() == null)
return RasErrorTexts.getErrorMessage(errNo);
else
return super.getMessage();
}
}