Package com.thimbleware.jmemcached.protocol.exceptions

Examples of com.thimbleware.jmemcached.protocol.exceptions.DatabaseException.printStackTrace()


import junit.framework.TestCase;

public class DatabaseExceptionTest extends TestCase {
  public void testPerformance() {
    DatabaseException exception = new DatabaseException("password wrong");
    exception.printStackTrace();
    long start = System.currentTimeMillis();
    for (int i = 0; i < 10000000; i++) {
      exception = new DatabaseException("password wrong");

    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.