Package guru.mikelue.jdut
Class DataConductException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- guru.mikelue.jdut.DataConductException
-
- All Implemented Interfaces:
Serializable
public class DataConductException extends RuntimeException
Represents the runtime exception thrown byDataConductor
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataConductException(String message)
DataConductException(String format, Object... args)
DataConductException(Throwable throwable)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataConductException
as(SQLException e)
As the type ofSQLExceptionConvert
.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
as
public static DataConductException as(SQLException e)
As the type ofSQLExceptionConvert
.- Parameters:
e
- The sql exception to be converted- Returns:
- data conduct exception
-
-