Package org.apache.shindig.social.core.util

Examples of org.apache.shindig.social.core.util.BeanJsonLibConversionException


    assertEquals(2, beanJsonConverter.convertToObject("[\"a\",\"b\"]", String[].class).length);
  }

  public void testException() {
    // a bit brain dead, but makes certain the exception is available in all forms
    assertNotNull(new BeanJsonLibConversionException());
    assertNotNull(new BeanJsonLibConversionException("message"));
    assertNotNull(new BeanJsonLibConversionException(new Exception()));
    assertNotNull(new BeanJsonLibConversionException("message", new Exception()));
  }
View Full Code Here

TOP

Related Classes of org.apache.shindig.social.core.util.BeanJsonLibConversionException

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.