- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,205 for Exceptions (0.05 sec)
-
ApiAdminRelatedcontentAction.java
L80: body.crudMode = CrudMode.CREATE; L81: final RelatedContent relatedContent = getRelatedContent(body).map(entity -> { L82: try { L83: relatedContentService.store(entity); L84: } catch (final Exception e) { L85: logger.warn("Failed to process a request.", e); L86: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L87: } L88: return...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.4K bytes -
Striped64.java
static final long valueOffset; L119: L120: static { L121: try { L122: UNSAFE = getUnsafe(); L123: Class<?> ak = Cell.class; L124: valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value")); L125: } catch (Exception e) { L126: throw new Error(e); L127: } L128: } L129: } L130: L131: /** L132: * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this L133: * class, we use a suboptimal int[] representation...github.com/google/guava/android/guava/src/com/g...Fri Jun 14 17:55:55 UTC 2024 11.5K bytes -
GroovyEngineTest.java
L32: @Override L33: protected boolean isSuppressTestCaseTransaction() { L34: return true; L35: } L36: L37: @Override L38: public void setUp() throws Exception { L39: super.setUp(); L40: groovyEngine = new GroovyEngine(); L41: } L42: L43: @Override L44: public void tearDown() throws Exception { L45: ComponentUtil.setFessConfig(null); L46: super.tearDown(); L47: } L48: L49: public void test_evaluate() { L50: final Map<String, Object>...github.com/codelibs/fess/src/test/java/org/code...Thu Oct 17 12:10:08 UTC 2024 1.8K bytes -
AbstractEventBusTest.java
H subscriber; L39: L40: H getSubscriber() { L41: return subscriber; L42: } L43: L44: @Override L45: protected void setUp() throws Exception { L46: subscriber = createSubscriber(); L47: EventBus bus = new EventBus(); L48: bus.register(subscriber); L49: bus.post(EVENT); L50: } L51: L52: @Override L53: protected void tearDown() throws Exception { L54: subscriber = null; L55: } L56:}...github.com/google/guava/guava-tests/test/com/go...Mon Apr 17 15:19:38 UTC 2023 1.6K bytes -
SubscriberRegistry.java
n(e.getCause().getMessage(), e.getCause()); L181: } L182: /* L183: * If some other exception happened, we just propagate the wrapper L184: * UncheckedExecutionException, which has the stack trace from this thread and which has its L185: * cause set to the underlying exception (which may be from another thread). If we someday L186: * learn that some other exception besides IllegalArgumentException is common, then we could L187: * add another special case to...github.com/google/guava/android/guava/src/com/g...Thu Oct 17 15:16:45 UTC 2024 10.8K bytes -
SsoAction.java
org.codelibs.fess.app.web.login.LoginAction; L24:import org.codelibs.fess.exception.SsoMessageException; L25:import org.codelibs.fess.sso.SsoManager; L26:import org.codelibs.fess.sso.SsoResponseType; L27:import org.codelibs.fess.util.ComponentUtil; L28:import org.dbflute.optional.OptionalThing; L29:import org.lastaflute.web.Execute; L30:import org.lastaflute.web.login.credential.LoginCredential; L31:import org.lastaflute.web.login.exception.LoginFailureException; L32:import org.lastaflute.web.response.ActionResponse;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.1K bytes -
SAXParserUtil.java
sertArgumentNotEmpty; L19:import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; L20: L21:import java.io.IOException; L22: L23:import javax.xml.parsers.SAXParser; L24: L25:import org.codelibs.core.exception.IORuntimeException; L26:import org.codelibs.core.exception.SAXRuntimeException; L27:import org.xml.sax.InputSource; L28:import org.xml.sax.SAXException; L29:import org.xml.sax.XMLReader; L30:import org.xml.sax.helpers.DefaultHandler; L31: L32:/** L33: * {@link SAXParser}用のユーティリティ・クラスです。...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 3.1K bytes -
AdminDictMappingAction.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 nullpos L53: * @author ma2tani L54: */ L55:public class AdminDictMappingAction extends FessAdminAction { L56: L57: public static final String ROLE...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 19.5K bytes -
AbstractIterator.java
the first invocation of {@code hasNext} or {@code next} following each successful call to L95: * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception, L96: * {@code computeNext} is guaranteed to never be called again. L97: * L98: * <p>If this method throws an exception, it will propagate outward to the {@code hasNext} or L99: * {@code next} invocation that invoked this method. Any further attempts to use the iterator will L100: * result in an {@link...github.com/google/guava/guava/src/com/google/co...Fri Mar 18 02:04:10 UTC 2022 6.4K bytes -
PostStreaming.java
final class PostStreaming { L27: public static final MediaType MEDIA_TYPE_MARKDOWN L28: = MediaType.get("text/x-markdown; charset=utf-8"); L29: L30: private final OkHttpClient client = new OkHttpClient(); L31: L32: public void run() throws Exception { L33: RequestBody requestBody = new RequestBody() { L34: @Override public MediaType contentType() { L35: return MEDIA_TYPE_MARKDOWN; L36: } L37: L38: @Override public void writeTo(BufferedSink sink) throws IOException {...github.com/square/okhttp/samples/guide/src/main...Fri Jul 06 03:18:15 UTC 2018 2.1K bytes