92: EXCEPTION
93:
94: WHEN OTHERS THEN
95:
96: IF OE_MSG_PUB.Check_Msg_Level (OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
97: THEN
98: OE_MSG_PUB.Add_Exc_Msg
99: ( G_PKG_NAME ,
100: 'Get_Agreement'
94: WHEN OTHERS THEN
95:
96: IF OE_MSG_PUB.Check_Msg_Level (OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
97: THEN
98: OE_MSG_PUB.Add_Exc_Msg
99: ( G_PKG_NAME ,
100: 'Get_Agreement'
101: );
102: END IF;
510: -- Check number of iterations.
511:
512: IF p_iteration > OE_GLOBALS.G_MAX_DEF_ITERATIONS THEN
513:
514: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
515: THEN
516:
517: FND_MESSAGE.SET_NAME('OE','OE_DEF_MAX_ITERATION');
518: OE_MSG_PUB.Add;
514: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
515: THEN
516:
517: FND_MESSAGE.SET_NAME('OE','OE_DEF_MAX_ITERATION');
518: OE_MSG_PUB.Add;
519:
520: END IF;
521:
522: RAISE FND_API.G_EXC_ERROR;