org.databene.commons.db
Class SQLScriptException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.databene.commons.db.SQLScriptException
All Implemented Interfaces:
java.io.Serializable

public class SQLScriptException
extends java.lang.Exception

Indicates an error in the execution of a SQL script.

Created at 31.07.2008 19:37:20

Since:
0.4.5
Author:
Volker Bergmann
See Also:
Serialized Form

Constructor Summary
SQLScriptException(int lineNo)
           
SQLScriptException(java.lang.Throwable cause, int lineNo)
           
SQLScriptException(java.lang.Throwable cause, java.lang.String uri, int lineNo)
           
 
Method Summary
 int getLineNo()
           
 java.lang.String getMessage()
           
 SQLScriptException withUri(java.lang.String uri)
           
 
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

SQLScriptException

public SQLScriptException(java.lang.Throwable cause,
                          java.lang.String uri,
                          int lineNo)

SQLScriptException

public SQLScriptException(int lineNo)

SQLScriptException

public SQLScriptException(java.lang.Throwable cause,
                          int lineNo)
Method Detail

withUri

public SQLScriptException withUri(java.lang.String uri)

getLineNo

public int getLineNo()

getMessage

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


Copyright © 2010. All Rights Reserved.