Package net.buffalo.protocal

Examples of net.buffalo.protocal.InitializeObjectFailedException


  public static Object newInstanceOfType(String className) {
    Object result = null;
    try {
      result = getClassFor(className).newInstance();
    } catch (InstantiationException e) {
      throw new InitializeObjectFailedException(
          "fail to initialize type: " + className, e);
    } catch (IllegalAccessException e) {
      throw new InitializeObjectFailedException(
          "fail to initialize type: " + className, e);
    }
   
    return result;
  }
View Full Code Here

TOP

Related Classes of net.buffalo.protocal.InitializeObjectFailedException

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.