public class DBException
extends java.lang.Exception
| Constructor and Description |
|---|
DBException(java.lang.String className,
java.lang.String methodName,
java.lang.String message)
Constructor for DBException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Gets the class name that has thrown the exception.
|
java.lang.String |
getMessage() |
java.lang.String |
getMethodName()
Gets the method name that has thrown the exception.
|
java.lang.String |
toString() |
public DBException(java.lang.String className,
java.lang.String methodName,
java.lang.String message)
className - Name of the class throwing the exception.methodName - Name of the method throwing the exception.message - Exception message providing the details about the exception.public java.lang.String getClassName()
public java.lang.String getMethodName()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.ThrowableCopyright © 2017 Unvired Inc. All Rights Reserved.