org.jboss.dna.common.jdbc.model.api
Class DatabaseMetaDataMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.dna.common.jdbc.model.api.DatabaseMetaDataMethodException
All Implemented Interfaces:
Serializable

public class DatabaseMetaDataMethodException
extends Exception

Database metadata method call related exception

Author:
Sergiy Litsenko
See Also:
Serialized Form

Field Summary
static String METHOD_FAILED
           
 
Constructor Summary
DatabaseMetaDataMethodException()
          Default constructor
DatabaseMetaDataMethodException(String message, String methodName)
          Constructor
DatabaseMetaDataMethodException(String message, String methodName, Throwable ex)
          Constructor
DatabaseMetaDataMethodException(Throwable ex)
          Constructor
 
Method Summary
 String getMethodName()
          Returns name of method that caused exception
 void setMethodName(String methodName)
          Sets the name of method that caused exception
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

METHOD_FAILED

public static final String METHOD_FAILED
See Also:
Constant Field Values
Constructor Detail

DatabaseMetaDataMethodException

public DatabaseMetaDataMethodException()
Default constructor


DatabaseMetaDataMethodException

public DatabaseMetaDataMethodException(String message,
                                       String methodName)
Constructor

Parameters:
message - the explanation of exception
methodName - the name of method that caused exception

DatabaseMetaDataMethodException

public DatabaseMetaDataMethodException(String message,
                                       String methodName,
                                       Throwable ex)
Constructor

Parameters:
message - the explanation of exception
methodName - the name of method that caused exception
ex - the exception that causes problem

DatabaseMetaDataMethodException

public DatabaseMetaDataMethodException(Throwable ex)
Constructor

Parameters:
ex - the exception that causes problem
Method Detail

getMethodName

public String getMethodName()
Returns name of method that caused exception

Returns:
name of method that caused exception

setMethodName

public void setMethodName(String methodName)
Sets the name of method that caused exception

Parameters:
methodName - the name of method that caused exception


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.