Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for ErrorMessage (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/graph/InvalidatableSet.java

      private final Set<E> delegate;
      private final Supplier<String> errorMessage;
    
      static <E> InvalidatableSet<E> of(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        return new InvalidatableSet<>(
            checkNotNull(delegate), checkNotNull(validator), checkNotNull(errorMessage));
      }
    
      @Override
      protected Set<E> delegate() {
        validate();
    Created: 2026-04-03 12:43
    - Last Modified: 2025-01-30 16:59
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

         * Test the constructor with a message.
         */
        @Test
        void testMessageConstructor() {
            String errorMessage = "This is a test error message.";
            PACDecodingException e = new PACDecodingException(errorMessage);
            // Expect the message to be set correctly and cause to be null
            assertEquals(errorMessage, e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a cause.
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-14 05:31
    - 2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String errorMessage = "LDAP server not reachable";
    
            try {
                throw new LdapConfigurationException(errorMessage);
            } catch (LdapConfigurationException e) {
                assertEquals(errorMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-13 23:01
    - 7.8K bytes
    - Click Count (0)
  4. src/main/webapp/js/admin/plugins/form-validator/sweden.js

    +1)%2+1)*c.substring(l,l+1);var m=0;for(l=0;l<k.length;l++)m+=parseInt(k.substring(l,l+1),10);return m%10===0},errorMessage:"",errorMessageKey:"badSecurityNumber"}),a.formUtils.addValidator({name:"swecounty",validatorFunction:function(b){return b=b.toLowerCase(),a.inArray(b,this.counties)!==-1||"län"!==b.substr(-3).toLocaleLowerCase()&&a.inArray(b+"s län",this.counties)>-1},errorMessage:"",errorMessageKey:"badCustomVal",counties:["stockholms län","uppsala län","södermanlands län","östergötlands län","jönköpings...
    Created: 2026-03-31 13:07
    - Last Modified: 2018-01-01 05:12
    - 6.4K bytes
    - Click Count (1)
  5. src/main/webapp/js/admin/plugins/form-validator/brazil.js

    !1;for(i=1;i<=10;i++)d+=parseInt(b.substring(i-1,i))*(12-i);return f=10*d%11,f>=10&&(f=0),f===parseInt(b.substring(10,11))},errorMessage:"",errorMessageKey:"badBrazilCPFAnswer"}),a.formUtils.addValidator({name:"brphone",validatorFunction:function(a){return!!a.match(/^(\+[\d]{1,3}[\s]{0,1}){0,1}(\(){0,1}(\d){2}(\)){0,1}(\s){0,1}(\d){4,5}([-. ]){0,1}(\d){4}$/g)},errorMessage:"",errorMessageKey:"badBrazilTelephoneAnswer"}),a.formUtils.addValidator({name:"cep",validatorFunction:function(a){return!!a...
    Created: 2026-03-31 13:07
    - Last Modified: 2018-01-01 05:12
    - 1.3K bytes
    - Click Count (0)
  6. src/main/webapp/js/admin/plugins/form-validator/poland.js

    ngth){for(var e=0;e<10;e++)c+=a[e]*b[e];if(c%10!==0&&(d=10-c%10),parseInt(a.charAt(10))===d)return!0}return!1},errorMessage:"",errorMessageKey:"badPlPesel"}),a.formUtils.addValidator({name:"plnip",validatorFunction:function(a){var b=[6,5,7,2,3,4,5,6,7],c=0;if(/\d{10}/.test(a)&&10===a.length){for(var d=0;d<9;d++)c+=a[d]*b[d];if(parseInt(a.charAt(9))===c%11)return!0}return!1},errorMessage:"",errorMessageKey:"badPlNip"}),a.formUtils.addValidator({name:"plregon",validatorFunction:function(a){var b=[...
    Created: 2026-03-31 13:07
    - Last Modified: 2018-01-01 05:12
    - 1.4K bytes
    - Click Count (0)
  7. src/main/webapp/js/admin/plugins/form-validator/location.js

    island","south carolina","south dakota","tennessee","texas","utah","vermont","virginia","washington","west virginia","wisconsin","wyoming"],errorMessage:"",errorMessageKey:"badCustomVal"}),a.formUtils.addValidator({name:"longlat",validatorFunction:function(a){var b=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;return b.test(a)},errorMessage:"",errorMessageKey:"badCustomVal"});var b=function(b){var c=[];return a.each(b,function(a,b){c.push(b.substr(0,1).toUpperCase(...
    Created: 2026-03-31 13:07
    - Last Modified: 2018-01-01 05:12
    - 5.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

        @Test
        public void test_constructor_withServletException() {
            // Create a ServletException with a message
            String errorMessage = "Test servlet error message";
            ServletException servletException = new ServletException(errorMessage);
    
            // Wrap it in ServletRuntimeException
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-13 23:01
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            final String errorMessage = "Data store operation failed";
    
            try {
                throw new DataStoreException(errorMessage);
            } catch (DataStoreException e) {
                assertEquals(errorMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
    Created: 2026-03-31 13:07
    - Last Modified: 2026-01-11 08:43
    - 8.9K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/plugins/form-validator/uk.js

    g>0;)g-=97;return g=Math.abs(g),d===g&&(b=!0),b||(g%=97,g>=55?g-=55:g+=42,g===d&&(b=!0)),b},errorMessage:"",errorMessageKey:"badUKVatAnswer"}),a.formUtils.addValidator({name:"ukutr",validatorFunction:function(a){var b=[0,6,7,8,9,10,5,4,3,2],c=[2,1,9,8,7,6,5,4,3,2,1],d=0;if(/\d{10}/.test(a)&&10===a.length){for(var e=0;e<10;e++)d+=a[e]*b[e];if(parseInt(a.charAt(0))===c[d%11])return!0}return!1},errorMessage:"",errorMessageKey:"badUkUtr"}),a.formUtils.addValidator({name:"uknin",validatorFunction:fun...
    Created: 2026-03-31 13:07
    - Last Modified: 2018-01-01 05:12
    - 1.4K bytes
    - Click Count (0)
Back to Top