- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 357 for Exceptions (0.07 sec)
-
ApiAdminJoblogAction.java
jobLogService.getJobLog(id).ifPresent(entity -> { L76: try { L77: jobLogService.delete(entity); L78: saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); L79: } catch (final Exception e) { L80: logger.warn("Failed to process a request.", e); L81: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e))); L82: } L83: }).orElse(()...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.1K bytes -
MemoryUtilTest.java
assertEquals("1.024EB", MemoryUtil.byteCountToDisplaySize(FileUtils.ONE_EB)); L51: } L52: L53: public void test_getUsedMemory() { L54: assertTrue(MemoryUtil.getUsedMemory() >= 0); L55: } L56: L57: public void test_sizeOf() throws Exception { L58: // System.out.println("size: " + getObjectSize("")); L59: assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE)); L60: assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE)); L61: assertEquals(24L, MemoryUtil.si...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.1K bytes -
RequestHeader.java
final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class); L58: try { L59: webConfig = webConfigService.getWebConfig(getWebConfigId()).get(); L60: } catch (final Exception e) { L61: logger.warn("Web Config {} does not exist.", getWebConfigId(), e); L62: } L63: } L64: return webConfig; L65: } L66: L67: @Override L68: public String toString() { L69: return "RequestHeader...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.4K bytes -
UserAgentHelperTest.java
erAgentType; L19:import org.codelibs.fess.unit.UnitFessTestCase; L20: L21:public class UserAgentHelperTest extends UnitFessTestCase { L22: L23: public UserAgentHelper userAgentHelper; L24: L25: @Override L26: public void setUp() throws Exception { L27: super.setUp(); L28: userAgentHelper = new UserAgentHelper(); L29: } L30: L31: public void test_getUserAgentType_IE9() { L32: getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3K bytes -
BooleanQueryCommand.java
org.apache.logging.log4j.Logger; L20:import org.apache.lucene.search.BooleanClause; L21:import org.apache.lucene.search.BooleanQuery; L22:import org.apache.lucene.search.Query; L23:import org.codelibs.fess.entity.QueryContext; L24:import org.codelibs.fess.exception.InvalidQueryException; L25:import org.lastaflute.core.message.UserMessages; L26:import org.opensearch.index.query.BoolQueryBuilder; L27:import org.opensearch.index.query.QueryBuilder; L28:import org.opensearch.index.query.QueryBuilders; L29: L30:public...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.9K bytes -
AdminRoleAction.java
; L168: getRole(form).ifPresent(entity -> { L169: try { L170: roleService.store(entity); L171: saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); L172: } catch (final Exception e) { L173: logger.warn("Failed to add {}", entity, e); L174: throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)), L175: this::asEditHtml);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 10.8K bytes -
QueryHelper.java
ity.FacetInfo; L34:import org.codelibs.fess.entity.GeoInfo; L35:import org.codelibs.fess.entity.QueryContext; L36:import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType; L37:import org.codelibs.fess.exception.InvalidQueryException; L38:import org.codelibs.fess.exception.QueryParseException; L39:import org.codelibs.fess.mylasta.action.FessUserBean; L40:import org.codelibs.fess.mylasta.direction.FessConfig; L41:import org.codelibs.fess.query.QueryFieldConfig; L42:import org.codelibs...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 11.9K bytes -
EsAbstractConditionBean.java
L21:import org.dbflute.cbean.coption.CursorSelectOption; L22:import org.dbflute.cbean.coption.ScalarSelectOption; L23:import org.dbflute.cbean.coption.StatementConfigCall; L24:import org.dbflute.cbean.dream.SpecifiedColumn; L25:import org.dbflute.cbean.exception.ConditionBeanExceptionThrower; L26:import org.dbflute.cbean.ordering.OrderByBean; L27:import org.dbflute.cbean.paging.PagingBean; L28:import org.dbflute.cbean.paging.PagingInvoker; L29:import org.dbflute.cbean.scoping.AndQuery; L30:import org.db...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 17.8K bytes -
CrawlingInfoService.java
hv.CrawlingInfoBhv; L40:import org.codelibs.fess.es.config.exbhv.CrawlingInfoParamBhv; L41:import org.codelibs.fess.es.config.exentity.CrawlingInfo; L42:import org.codelibs.fess.es.config.exentity.CrawlingInfoParam; L43:import org.codelibs.fess.exception.FessSystemException; L44:import org.codelibs.fess.mylasta.direction.FessConfig; L45:import org.codelibs.fess.util.ComponentUtil; L46:import org.dbflute.bhv.readable.EntityRowHandler; L47:import org.dbflute.cbean.result.ListResultBean; L48:import...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 13.4K bytes -
ContentNotFoundException.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 ContentNotFoundException extends FessSystemException { L19: L20: private static final long serialVersionUID = 1L; L21: L22: public ContentNotFoundException(final String parentUrl, final String url) { L23: super("Not...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 947 bytes