Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,205 for Exceptions (0.07 sec)

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. CancelCall.java

    L25:import okhttp3.Response; L26: L27:public class CancelCall { L28: private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1); L29: private final OkHttpClient client = new OkHttpClient(); L30: L31: public void run() throws Exception { L32: Request request = new Request.Builder() L33: .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. L34: .build(); L35: L36: final long startNanos = System.nanoTime(); L37: final Call call =...
    github.com/square/okhttp/samples/guide/src/main...
    Sat Jan 12 03:31:36 UTC 2019
      2.1K bytes
Back to top