- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,205 for Exceptions (0.07 sec)
-
DocumentBuilderUtil.java
static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; L19: L20:import java.io.IOException; L21:import java.io.InputStream; L22: L23:import javax.xml.parsers.DocumentBuilder; L24: L25:import org.codelibs.core.exception.IORuntimeException; L26:import org.codelibs.core.exception.SAXRuntimeException; L27:import org.w3c.dom.Document; L28:import org.xml.sax.SAXException; L29: L30:/** L31: * {@link DocumentBuilder}用のユーティリティクラスです。 L32: * L33: * @author higa L34: */ L35:public abstract class DocumentBuilderUtil...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 1.8K bytes -
SynonymFileTest.java
opensearch and dictionaryManager L39: synonymFile = new SynonymFile("1", file1.getAbsolutePath(), new Date()); L40: } L41: L42: @Override L43: public void tearDown() throws Exception { L44: file1.delete(); L45: } L46: */ L47: L48: @Override L49: public void setUp() throws Exception { L50: super.setUp(); L51: synonymFile = new SynonymFile("1", "dummy", new Date()); L52: List<SynonymItem> itemList = new ArrayList<>(); L53: itemList.add(new...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9K bytes -
ApiAdminFileauthAction.java
L89: L90: body.crudMode = CrudMode.CREATE; L91: final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> { L92: try { L93: fileAuthService.store(entity); L94: } catch (final Exception e) { L95: logger.warn("Failed to process a request.", e); L96: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L97: } L98: return...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.8K bytes -
AccessTokenHelperTest.java
limitations under the License. L15: */ L16:package org.codelibs.fess.helper; L17: L18:import static org.junit.jupiter.api.Assertions.assertThrows; L19: L20:import java.util.ArrayList; L21:import java.util.List; L22: L23:import org.codelibs.fess.exception.InvalidAccessTokenException; L24:import org.codelibs.fess.unit.UnitFessTestCase; L25:import org.dbflute.utflute.mocklet.MockletHttpServletRequest; L26: L27:public class AccessTokenHelperTest extends UnitFessTestCase { L28: L29: protected static...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.1K bytes -
ImmutableMap.java
make it explicit that the method L590: * will throw an exception if there are duplicate keys. The {@code build()} method will soon be L591: * deprecated. L592: * L593: * @throws IllegalArgumentException if duplicate keys were added L594: */ L595: public ImmutableMap<K, V> build() { L596: return buildOrThrow(); L597: } L598: L599: /** L600: * Returns a newly-created immutable map, or throws an exception if any key was added more than L601: * once. The iteration...github.com/google/guava/guava/src/com/google/co...Wed Oct 30 16:15:19 UTC 2024 44.6K bytes -
LdapConfigurationException.java
"AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.exception; L17: L18:public class LdapConfigurationException extends FessSystemException { L19: L20: private static final long serialVersionUID = 1L; L21: L22: public LdapConfigurationException(final String message) { L23: super(message); L24:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 878 bytes -
ResultOffsetExceededException.java
"AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.exception; L17: L18:public class ResultOffsetExceededException extends FessSystemException { L19: private static final long serialVersionUID = 1L; L20: L21: public ResultOffsetExceededException(final String message) { L22: super(message); L23:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 884 bytes -
MockWebServer.kt
IOException) { L422: logger.fine("$this connection from ${raw.inetAddress} failed: $e") L423: } catch (e: Exception) { L424: logger.log(Level.SEVERE, "$this connection from ${raw.inetAddress} crashed", e) L425: } L426: } L427: } L428: L429: internal inner class SocketHandler(private val raw: Socket) { L430: private var sequenceNumber = 0 L431: L432: @Throws(Exception::class) L433: fun handle() { L434: if (!processTunnelRequests()) return L435: L436: val socketPolicy...github.com/square/okhttp/mockwebserver/src/main...Sun Mar 31 17:16:15 UTC 2024 37.4K bytes -
GsaConfigException.java
"AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.exception; L17: L18:public class GsaConfigException extends FessSystemException { L19: L20: private static final long serialVersionUID = 1L; L21: L22: public GsaConfigException(final String message, final Throwable cause) { L23: super(message,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 978 bytes -
TestRegistration.kt
L75: val testClass = access.findClassByName(it) L76: L77: if (testClass != null) { L78: access.registerAsUsed(testClass) L79: registerTest(access, testClass) L80: } L81: } catch (e: Exception) { L82: // If you throw an exception here then native image building fails half way through L83: // silently without rewriting the binary. So we report noisily, but keep going and prefer L84: // running most tests still. L85: e.printStackTrace()...github.com/square/okhttp/native-image-tests/src...Mon Jan 08 01:13:22 UTC 2024 3.7K bytes