All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.objectsql.exception.ORMSQLException Maven / Gradle / Ivy

There is a newer version: 6.1
Show newest version
package com.objectsql.exception;

import java.util.HashMap;
import java.util.Map;

/**
 * 

项目名称: object-sql

*

描述: Table

*

创建时间:2020/3/13 10:02

*

公司信息:objectsql

* * @author huangyonghua, [email protected] */ public class ORMSQLException extends ORMException{ private Map params; public Map getParams() { return params; } public ORMSQLException(Exception exception, String msg, Object... args){ super(exception.getMessage() != null? (msg + ":" + exception.getMessage()):msg); } public ORMSQLException(Exception exception, String msg){ super(exception.getMessage() != null? (msg + ":" + exception.getMessage()):msg); } public ORMSQLException(String msg){ super(msg); } public ORMSQLException put(String key, Object value){ if(this.params == null){ this.params = new HashMap(); } this.params.put(key, value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy