Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.wcps.conductor.scenario.syntax
Interface IRaiseErrorStatement

All Superinterfaces:
IStatement

public interface IRaiseErrorStatement
extends IStatement

Raises an error and stops any subsequent scenario statement processing.


Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement
IStatement.ErrorLevel

 

Method Summary
 java.lang.String getMessage()
          Returns the message associated with the error condition.
 java.lang.Integer getStatusCode()
          Returns the Http Status Code associated with the error message.
 void setMessage(java.lang.String message)
          Sets the message to associate with the error.
 void setStatusCode(java.lang.Integer httpStatus)
          Sets the Http Status Code associated with the error message.

 

Methods inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement
getComments, getContainerScenarioName, getErrorLevel, getErrorMessage, getId, getLabel, getParentStatement, raiseError, setComments, setId, setLabel

 

Method Detail

getStatusCode

java.lang.Integer getStatusCode()
Returns the Http Status Code associated with the error message.

setStatusCode

void setStatusCode(java.lang.Integer httpStatus)
Sets the Http Status Code associated with the error message.

getMessage

java.lang.String getMessage()
Returns the message associated with the error condition.

If the message is set to null, a default message will be thrown.

Messages can contain valid EL Expressions.


setMessage

void setMessage(java.lang.String message)
Sets the message to associate with the error.

Can be string literal with a valid expression.


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.