Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-02


oracle.rules.sdk2.exception
Class ExpressionWarning

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.rules.sdk2.exception.SDKException
              extended by oracle.rules.sdk2.exception.SDKWarning
                  extended by oracle.rules.sdk2.exception.ExpressionWarning

All Implemented Interfaces:
java.io.Serializable

public class ExpressionWarning
extends SDKWarning

Exception thrown when invalid expression syntax is encountered.

See Also:
Serialized Form

Constructor Summary
ExpressionWarning(java.lang.String code, java.lang.String property, DictionaryComponent component, java.lang.String token1, java.lang.String token2, int begin, int end)
           

 

Method Summary
 int getBegin()
          Set by Expression.validate() when an expression is typed in incorrectly.
 int getEnd()
          Set by Expression.validate() when an expression is typed in incorrectly.

 

Methods inherited from class oracle.rules.sdk2.exception.SDKException
addToken, getDetails, getDictionaryObject, getErrorCode, getMessage, getMessage, getMessageInfo, getMessageOnly, getPropertyName, getRootMessage, getStackTraceAsString, getTokens, setDetails

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ExpressionWarning

public ExpressionWarning(java.lang.String code,
                         java.lang.String property,
                         DictionaryComponent component,
                         java.lang.String token1,
                         java.lang.String token2,
                         int begin,
                         int end)

Method Detail

getBegin

public int getBegin()
Set by Expression.validate() when an expression is typed in incorrectly.
Returns:
the beginning offset of token in error.

getEnd

public int getEnd()
Set by Expression.validate() when an expression is typed in incorrectly.
Returns:
the ending offset of token in error.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-02


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