Package com.sun.enterprise.admin.common.exception

Examples of com.sun.enterprise.admin.common.exception.AFRuntimeException


    /**
     * before config add, delete, set, update or flush. type is in ccce
     */
    public void preChangeNotification(ConfigContextEvent ccce) {
         if(! check(ccce))
                throw new AFRuntimeException(result.getErrorDetails().toString());
    }
View Full Code Here


            Debug.printStackTrace(e);
            throw new AFConnectionException(e.getMessage());
        }
        catch (ClassNotFoundException cnfe)
        {
            throw new AFRuntimeException(cnfe.toString());
        }
        catch (Exception e)
        {
            throw new AFRuntimeException(e.getLocalizedMessage());
        }
        finally
        {
            if (connection != null)
            {
View Full Code Here

        } catch(AFRuntimeStoreException af) {
            throw af;
        } catch (Exception e) {
      String msg = localStrings.getString( "admin.server.core.jmx.bad_server_configuration" );
            sLogger.log(Level.INFO, msg, e);
            throw new AFRuntimeException( msg, e );
        }
    }
View Full Code Here

        String msg;
        if(clientVersion == null)
            msg = localStrings.getString( "admin.server.core.servlet.no_client_version" );
        else
            msg = localStrings.getString( "admin.server.core.servlet.nonsupported_client_version", clientVersion);
        config.setException(new AFRuntimeException(msg));
        return response;
  }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.common.exception.AFRuntimeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.