Java SQLException throwException(String message)

Here you can find the source of throwException(String message)

Description

throw Exception

License

Apache License

Declaration

public static SQLException throwException(String message) throws SQLException 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.sql.SQLException;

public class Main {
    public static SQLException throwException(String message) throws SQLException {
        throw new SQLException(message, "FULLTEXT");
    }//w w w  .  ja v  a 2  s .  c  om
}

Related

  1. printStackTrace(final Throwable exception)
  2. printStackTrace(SQLException e)
  3. retrieveDetailException(Throwable throwable)
  4. rollbackTransaction(final Connection conn, final SQLException e)
  5. throwException(final Throwable t)
  6. toSQLException(Throwable e)
  7. unboxException(SQLException exception)