Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing
11g Release 1 (11.1.1.4.0)

E14303-04
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.ede.api
Class StatementException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.bea.wlevs.ede.api.ConfigurationException
                          |
                          +--com.bea.wlevs.ede.api.StatementException

public class StatementException
extends ConfigurationException

Exception raised when attempting to add an invalid statement

See Also:
Serialized Form

Constructor Summary
StatementException(java.lang.Exception e)
           
StatementException(java.lang.String msg)
           
StatementException(java.lang.String message, java.lang.String statement, java.lang.String action)
           
StatementException(java.lang.String message, java.lang.String statement, java.lang.String causeMsg, java.lang.String action, java.lang.Throwable cause, java.lang.String stageName)
           
StatementException(java.lang.String message, java.lang.Throwable cause)
           
StatementException(java.lang.String message, java.lang.Throwable cause, java.lang.String stageName)
           

 

Method Summary
 java.lang.String getAction()
           
 java.lang.String getCauseMessage()
           
 int getColumnNumber()
          Returns column number on which an error was detected.
 int getEndOffset()
           
 int getLineNumber()
          Returns line number on which an error was detected.
 java.lang.String getMessage()
           
 java.lang.String getOriginalMessage()
           
 int getStartOffset()
           
 java.lang.String getStatement()
           
 boolean hasLocation()
          Indicates whether or not location information is available for this exception
 boolean hasOffsetInformation()
          Indicates whether this exception has offset information.
 void setEndOffset(int endOffset)
           
 void setStartOffset(int startOffset)
           
 void setStatement(java.lang.String statement)
           

 

Methods inherited from class com.bea.wlevs.ede.api.ConfigurationException
getStage

 

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

 

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

 

Constructor Detail

StatementException

public StatementException(java.lang.String msg)

StatementException

public StatementException(java.lang.Exception e)

StatementException

public StatementException(java.lang.String message,
                          java.lang.String statement,
                          java.lang.String action)

StatementException

public StatementException(java.lang.String message,
                          java.lang.String statement,
                          java.lang.String causeMsg,
                          java.lang.String action,
                          java.lang.Throwable cause,
                          java.lang.String stageName)

StatementException

public StatementException(java.lang.String message,
                          java.lang.Throwable cause,
                          java.lang.String stageName)

StatementException

public StatementException(java.lang.String message,
                          java.lang.Throwable cause)

Method Detail

hasLocation

public boolean hasLocation()
Indicates whether or not location information is available for this exception
Returns:
true if location information is available and false otherwise.

getLineNumber

public int getLineNumber()
Returns line number on which an error was detected.
Returns:
line number location of error

getColumnNumber

public int getColumnNumber()
Returns column number on which an error was detected.
Returns:
column number location of error

hasOffsetInformation

public boolean hasOffsetInformation()
Indicates whether this exception has offset information. There are two forms of location information--line/col and offset-based. This setting is independent of whether hasLocationInformation() returns true or false.

getStartOffset

public int getStartOffset()

setStartOffset

public void setStartOffset(int startOffset)

getEndOffset

public int getEndOffset()

setEndOffset

public void setEndOffset(int endOffset)

getStatement

public java.lang.String getStatement()

setStatement

public void setStatement(java.lang.String statement)

getCauseMessage

public java.lang.String getCauseMessage()

getAction

public java.lang.String getAction()

getOriginalMessage

public java.lang.String getOriginalMessage()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD