public class ECCException extends Exception
{
/**
* @since 2004
*/
protected String responseMsg;
/**
* @since 2004
* @roseuid 403C5D72023A
*/
public ECCException()
{
super();
}
public ECCException(String message)
{
super(message);
}
public ECCException(Throwable cause)
{
super(cause.getClass().getName() + ": " + cause.getMessage());
}
/**
* Access method for the responseMsg property.
*
* @return the current value of the responseMsg property
*/
public String getResponseMsg()
{
return responseMsg;
}
/**
* Sets the value of the responseMsg property.
*
* @param aResponseMsg the new value of the responseMsg property
*/
public void setResponseMsg(String aResponseMsg)
{
responseMsg = aResponseMsg;
}
public class GiftException extends ECCException
{
/**
@param cause
*/
public GiftException(Throwable cause)
{
super(cause);
}
/**
@param message
*/
public GiftException(String message)
{
super(message);
}
/**
super();
*/
public GiftException()
{
super();
}
}
public ProjectData getGiftEvalData(int project_id, Connection conn)
throws GiftException
catch (SQLException e) {
Debug.printErr(this.getClass().getName() + ".getNextPerson ex=" + e.getMessage());
throw new GiftException("取下一节点处理人出错:" + e.getMessage());