Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 2,327 for Exceptions (0.09 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        void getSessionKey_exception_propagates() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\sess");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    
            // Use doThrow for unchecked exception wrapping the CIFSException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        void connectLogon_withNull_isInvoked() throws Exception {
            // Act
            tree.connectLogon(null);
    
            // Assert - even null should be passed through to implementation
            verify(tree).connectLogon(null);
        }
    
        @Test
        @DisplayName("connectLogon propagates SmbException from implementation")
        void connectLogon_throws_propagates() throws Exception {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
      public void testRead_putSingleByte() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    
    /**
     * Exception that wraps {@link SAXException}.
     *
     * @author higa
     */
    public class SAXRuntimeException extends ClRuntimeException {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

        }
    
        @Test
        void testLifecyclePluginsRetrievalForDefaultLifecycle() throws Exception {
            List<Plugin> plugins = new ArrayList<>(lifecycleExecutor.getPluginsBoundByDefaultToAllLifecycles("jar"));
    
            assertEquals(8, plugins.size(), plugins.toString());
        }
    
        @Test
        void testPluginConfigurationCreation() throws Exception {
            File pom = getProject("project-with-additional-lifecycle-elements");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6));
        }
    
        @Test
        @DisplayName("Should throw exception when buffer too small for path")
        void testBufferTooSmallForPath() throws Exception {
            // Given
            String longPath = "\\\\server\\very_long_share_name_that_exceeds_buffer";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
      public void testThreshold() throws Exception {
        testThreshold(0, 100, true, false);
        testThreshold(10, 100, true, false);
        testThreshold(100, 100, true, false);
        testThreshold(1000, 100, true, false);
        testThreshold(0, 100, false, false);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected DefaultRepositorySystemSession initRepoSession() throws Exception {
            DefaultRepositorySystemSession session = super.initRepoSession();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/TransportException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util.transport;
    
    import jcifs.CIFSException;
    
    /**
     * Exception class for transport layer errors.
     * This exception is thrown when transport-related communication errors occur.
     */
    public class TransportException extends CIFSException {
    
        /**
         *
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top