Skip navigation links
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)
|
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 |
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)
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