- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,205 for Exceptions (0.07 sec)
-
CustomCipherSuites.java
t( L147: address, port, localAddress, localPort)); L148: } L149: L150: protected SSLSocket configureSocket(SSLSocket socket) throws IOException { L151: return socket; L152: } L153: } L154: L155: public void run() throws Exception { L156: Request request = new Request.Builder() L157: .url("https://publicobject.com/helloworld.txt") L158: .build(); L159: L160: try (Response response = client.newCall(request).execute()) { L161: if (!response.isSuccessful())...github.com/square/okhttp/samples/guide/src/main...Thu Mar 14 21:57:42 UTC 2019 6.5K bytes -
CustomTrust.java
L138: .build(); L139: L140: client = new OkHttpClient.Builder() L141: .sslSocketFactory(certificates.sslSocketFactory(), certificates.trustManager()) L142: .build(); L143: } L144: L145: public void run() throws Exception { L146: Request request = new Request.Builder() L147: .url("https://publicobject.com/helloworld.txt") L148: .build(); L149: L150: try (Response response = client.newCall(request).execute()) { L151: if (!response.isSuccessful())...github.com/square/okhttp/samples/guide/src/main...Thu Aug 12 07:26:27 UTC 2021 9.3K bytes -
EnumMultisetTest.java
static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { L157: return EnumMultiset.create(elements); L158: } L159: } L160: L161: @J2ktIncompatible L162: @GwtIncompatible // reflection L163: public void testEquals() throws Exception { L164: new ClassSanityTester() L165: .setDistinctValues(Class.class, Color.class, Gender.class) L166: .setDistinctValues(Enum.class, Color.BLUE, Color.RED) L167: .forAllPublicStaticMethods(EnumMultisetFactory.class) L168:...github.com/google/guava/guava-tests/test/com/go...Tue Oct 15 17:36:06 UTC 2024 5.9K bytes -
SubtypeTester.java
isSubtype(list); L49: * } L50: * L51: * @TestSubtype L52: * public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) { L53: * return notSubtype(intList); L54: * } L55: * } L56: * L57: * public void testMySubtypes() throws Exception { L58: * new MySubtypeTests().testAllDeclarations(); L59: * } L60: * }</pre> L61: * L62: * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need L63: * to be made. L64: * L65: * <p>The declaration methods...github.com/google/guava/guava-tests/test/com/go...Wed Apr 19 19:24:36 UTC 2023 6.1K bytes -
SuggestHelper.java
org.codelibs.fess.mylasta.direction.FessConfig; L48:import org.codelibs.fess.suggest.Suggester; L49:import org.codelibs.fess.suggest.constants.FieldNames; L50:import org.codelibs.fess.suggest.entity.SuggestItem; L51:import org.codelibs.fess.suggest.exception.SuggestSettingsException; L52:import org.codelibs.fess.suggest.index.SuggestDeleteResponse; L53:import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; L54:import org.codelibs.fess.suggest.settings.SuggestSettings; L55:import or...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 18.1K bytes -
AzureAdAuthenticator.java
L48:import org.codelibs.fess.app.web.base.login.AzureAdCredential.AzureAdUser; L49:import org.codelibs.fess.app.web.base.login.FessLoginAssist.LoginCredentialResolver; L50:import org.codelibs.fess.crawler.Constants; L51:import org.codelibs.fess.exception.SsoLoginException; L52:import org.codelibs.fess.mylasta.action.FessUserBean; L53:import org.codelibs.fess.mylasta.direction.FessConfig; L54:import org.codelibs.fess.sso.SsoAuthenticator; L55:import org.codelibs.fess.sso.SsoResponseType; L56:import...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 28.2K bytes -
AdminDictSynonymAction.java
org.lastaflute.web.response.HtmlResponse; L44:import org.lastaflute.web.response.render.RenderData; L45:import org.lastaflute.web.ruts.process.ActionRuntime; L46:import org.lastaflute.web.validation.VaErrorHook; L47:import org.lastaflute.web.validation.exception.ValidationErrorException; L48: L49:import jakarta.annotation.Resource; L50: L51:/** L52: * @author shinsuke L53: * @author Keiichi Watanabe L54: */ L55:public class AdminDictSynonymAction extends FessAdminAction { L56: L57: public static final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 19.5K bytes -
classificationDefinitionMap.dfprop
classification. L5:# L6:# Specification: L7:# map: { L8:# [classification-name] = list:{ L9:# ; map:{ L10:# ; topComment=[comment]; codeType=[String(default) or Number or Boolean]} L11:# ; undefinedHandlingType=[EXCEPTION or LOGGING(default) or ALLOWED] L12:# ; isUseDocumentOnly=[true or false(default)] L13:# ; isSuppressAutoDeploy=[true or false(default)] L14:# ; groupingMap = map:{ L15:# ; [group-name] = map:{...github.com/codelibs/fess/dbflute_fess/dfprop/cl...Sat Jul 04 22:46:31 UTC 2015 2.2K bytes -
LabelTypeHelperTest.java
java.util.Locale; L19: L20:import org.codelibs.fess.unit.UnitFessTestCase; L21: L22:public class LabelTypeHelperTest extends UnitFessTestCase { L23: L24: private LabelTypeHelper labelTypeHelper; L25: L26: @Override L27: public void setUp() throws Exception { L28: super.setUp(); L29: labelTypeHelper = new LabelTypeHelper(); L30: } L31: L32: public void test_matchLocale() { L33: assertFalse(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.JAPANESE)); L34: assertFa...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.7K bytes -
FessCurtainFinallyHook.java
final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null); L41: method.invoke(null, (Object[]) null); L42: } catch (final ClassNotFoundException e) { L43: // ignore L44: } catch (final Exception e) { L45: logger.warn("Could not shutdown Commons HttpClient.", e); L46: } L47: } L48:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.7K bytes