org.sql.generation.api.vendor
Class UnsupportedElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.sql.generation.api.vendor.UnsupportedElementException
All Implemented Interfaces:
Serializable

public class UnsupportedElementException
extends RuntimeException

This exception will typically be thrown by SQLVendor.toString(org.sql.generation.api.grammar.common.SQLStatement) method when the vendor encounters a SQL syntax element that the vendor doesn't understand.

Author:
Stanislav Muhametsin
See Also:
Serialized Form

Constructor Summary
UnsupportedElementException(String msg)
           
UnsupportedElementException(String msg, Object element)
           
 
Method Summary
 Object getElement()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

UnsupportedElementException

public UnsupportedElementException(String msg)

UnsupportedElementException

public UnsupportedElementException(String msg,
                                   Object element)
Method Detail

getElement

public Object getElement()


Copyright © 2010-2011. All Rights Reserved.