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

src-main-ce.org.awakefw.sql.jdbc.SQLExceptionNotSupportedInCommunityEdition Maven / Gradle / Ivy

Go to download

Awake SQL is an open source framework that allows remote and secure JDBC access through HTTP.

There is a newer version: 2.0.2
Show newest version
/*
 * Awake File: Easy file upload & download through HTTP with Java
 * Awake SQL: Remote JDBC access through HTTP.                                    
 * Copyright (C) 2012, Kawan Softwares S.A.S.
 * (http://www.awakeframework.org). All rights reserved.                                
 *                                                                               
 * Awake File/SQL is free software; you can redistribute it and/or                 
 * modify it under the terms of the GNU Lesser General Public                    
 * License as published by the Free Software Foundation; either                  
 * version 2.1 of the License, or (at your option) any later version.            
 *                                                                               
 * Awake File/SQL is distributed in the hope that it will be useful,               
 * but WITHOUT ANY WARRANTY; without even the implied warranty of                
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             
 * Lesser General Public License for more details.                               
 *                                                                               
 * You should have received a copy of the GNU Lesser General Public              
 * License along with this library; if not, write to the Free Software           
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  
 * 02110-1301  USA
 *
 * Any modifications to this file must keep this entire header
 * intact.
 */

//27/05/12 15:20 NDP : SQLExceptionNotSupportedInCommunityEdition: creation
//21/01/13 11:45 NDP : SQLExceptionNotSupportedInCommunityEdition: renamed from spelling error.

/**
 * 
 */
package org.awakefw.sql.jdbc;

import java.sql.SQLException;

/**
 * 
 * Throw this Exception when a feature is not supported in CE.
 * 
 * @author Nicolas de Pomereu
 *
 */
public class SQLExceptionNotSupportedInCommunityEdition extends SQLException {

    /**
     * Generates serialVersionUID
     */
    private static final long serialVersionUID = 4645025429329241322L;

    /**
     * Says a feature is not supported in CE.
     */
    public SQLExceptionNotSupportedInCommunityEdition() {
	super("This feature is only supported in Awake SQL Enterprise Edition.");
    }
    
    /**
     * Says a feature is not supported in CE with a message:
     */
    public SQLExceptionNotSupportedInCommunityEdition(String message) {
	super("This feature is only supported in Awake SQL Enterprise Edition: method " + message + ".");
    }    

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy