- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,205 for Exceptions (0.05 sec)
-
AnnotationUtilTest.java
java.lang.reflect.Method; L24:import java.util.Map; L25: L26:import org.junit.Test; L27: L28:/** L29: * @author higa L30: */ L31:public class AnnotationUtilTest { L32: L33: /** L34: * @throws Exception L35: */ L36: @Hoge(bbb = "3") L37: @Test L38: public void testGetProperties() throws Exception { L39: final Method m = ClassUtil.getMethod(getClass(), "testGetProperties"); L40: final Annotation anno = m.getAnnotation(Hoge.class); L41: final Map<String, Object> props...github.com/codelibs/corelib/src/test/java/org/c...Thu Mar 07 01:59:08 UTC 2024 1.5K bytes -
MessageDigestUtilTest.java
L16:package org.codelibs.core.security; L17: L18:import static org.junit.Assert.assertEquals; L19:import static org.junit.Assert.assertNull; L20:import static org.junit.Assert.assertTrue; L21: L22:import org.codelibs.core.exception.EmptyArgumentException; L23:import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException; L24:import org.junit.Test; L25: L26:/** L27: * @author shinsuke L28: * L29: */ L30:public class MessageDigestUtilTest { L31: /** L32: * L33: */ L34: @Test L35: public...github.com/codelibs/corelib/src/test/java/org/c...Thu Mar 07 01:59:08 UTC 2024 1.9K bytes -
CharMatcherTest.java
'q')); L171: doTestNull(forPredicate(Predicates.equalTo('c'))); L172: } L173: L174: private void doTestEmpty(CharMatcher matcher) throws Exception { L175: reallyTestEmpty(matcher); L176: reallyTestEmpty(matcher.negate()); L177: reallyTestEmpty(matcher.precomputed()); L178: } L179: L180: private void reallyTestEmpty(CharMatcher matcher) throws Exception { L181: assertEquals(-1, matcher.indexIn("")); L182: assertEquals(-1, matcher.indexIn("", 0)); L183: try { L184: matcher.indexIn("",...github.com/google/guava/android/guava-tests/tes...Wed Feb 21 18:32:41 UTC 2024 30.1K bytes -
SsoLoginException.java
governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.exception; L17: L18:public class SsoLoginException extends FessSystemException { L19: L20: private static final long serialVersionUID = 1L; L21: L22: public SsoLoginException(final String message) { L23: super(message); L24: } L25: L26: public SsoLoginException(final String message, final Exception e) { L27: super(message, e); L28: } L29: L30:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 967 bytes -
SsoProcessException.java
governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.exception; L17: L18:public class SsoProcessException extends FessSystemException { L19: L20: private static final long serialVersionUID = 1L; L21: L22: public SsoProcessException(final String message) { L23: super(message); L24: } L25: L26: public SsoProcessException(final String message, final Exception e) { L27: super(message, e); L28: } L29: L30:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 973 bytes -
PostStreamingWithPipe.java
class PostStreamingWithPipe { L29: public static final MediaType MEDIA_TYPE_MARKDOWN L30: = MediaType.get("text/x-markdown; charset=utf-8"); L31: L32: private final OkHttpClient client = new OkHttpClient(); L33: L34: public void run() throws Exception { L35: final PipeBody pipeBody = new PipeBody(); L36: L37: Request request = new Request.Builder() L38: .url("https://api.github.com/markdown/raw") L39: .post(pipeBody) L40: .build(); L41: L42: streamPrimesToSinkAsy...github.com/square/okhttp/samples/guide/src/main...Fri Jul 06 03:18:15 UTC 2018 3.1K bytes -
UpdateLabelJob.java
return builder.setScript(script); L63: } L64: } catch (final Exception e) { L65: logger.warn("Failed to process {}", hit, e); L66: } L67: return null; L68: }); L69: resultBuf.append(count).append(" docs").append("\n"); L70: } catch (final Exception e) { L71: logger.error("Could not update labels.", e); L72: resultBuf.append(e.getMessage()).append("\n");...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.5K bytes -
PathMappingHelper.java
L29:import org.codelibs.fess.es.config.exbhv.PathMappingBhv; L30:import org.codelibs.fess.es.config.exentity.PathMapping; L31:import org.codelibs.fess.util.ComponentUtil; L32:import org.codelibs.fess.util.DocumentUtil; L33:import org.lastaflute.di.core.exception.ComponentNotFoundException; L34:import org.lastaflute.di.core.factory.SingletonLaContainerFactory; L35:import org.lastaflute.web.util.LaRequestUtil; L36: L37:import jakarta.annotation.PostConstruct; L38: L39:public class PathMappingHelper extends...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.6K bytes -
AdminDesignActionTest.java
assertEquals("<% a", AdminDesignAction.decodeJsp("<% a")); L27: assertEquals("<%= a", AdminDesignAction.decodeJsp("<%= a")); L28: assertEquals("<% try{ %>", AdminDesignAction.decodeJsp("<!--TRY-->")); L29: assertEquals("<% }catch(Exception e){session.invalidate();} %>", L30: AdminDesignAction.decodeJsp("<!--CACHE_AND_SESSION_INVALIDATE-->")); L31: assertEquals("<% a %> %>", AdminDesignAction.decodeJsp("<% a %> %>")); L32: assertEquals("<% a %>...github.com/codelibs/fess/src/test/java/org/code...Sun Jul 28 09:03:48 UTC 2024 2.1K bytes -
PackageSanityTests.java
lness.qual.Nullable; L22: L23:/** L24: * Basic sanity tests for the entire package. L25: * L26: * @author Ben Yu L27: */ L28: L29:public class PackageSanityTests extends AbstractPackageSanityTests { L30: L31: public PackageSanityTests() throws Exception { L32: DummySubscriber dummySubscriber = new DummySubscriber(); L33: setDefault(Subscriber.class, dummySubscriber.toSubscriber()); L34: setDefault(Method.class, DummySubscriber.subscriberMethod()); L35: setDefault(SubscriberExceptionContext.class,...github.com/google/guava/guava-tests/test/com/go...Tue Jul 02 18:21:29 UTC 2024 1.9K bytes