- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,751 for constructors (0.05 sec)
-
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(); // Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
// Assert assertFalse(SessionSetupHandler.class.isInstance(null)); } @Test @DisplayName("Invalid: looking up constructor on interface fails") void testNoConstructorLookup() { // Act & Assert: interfaces have no constructors assertThrows(NoSuchMethodException.class, () -> SessionSetupHandler.class.getDeclaredConstructor()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java
* Implementation of the {@link Authentication} interface. * This class provides methods to handle authentication details such as * authentication scope, credentials, and authentication scheme. * * <p> * It includes constructors to initialize these details and getter and setter * methods to access and modify them. * </p> * * <p> * Example usage: * </p> * <pre> * {@codeRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/SitemapsException.java
* This exception extends {@link org.codelibs.fess.crawler.exception.CrawlerSystemException} * and provides constructors for wrapping other exceptions or creating a new exception with a message. */ public class SitemapsException extends CrawlerSystemException { private static final long serialVersionUID = 1L; /** * Constructs a new SitemapsException with the specified detail message and cause. * @param message the detail messageRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* constructor that omits the cause. */ @Deprecated protected UncheckedExecutionException() {} /** * Creates a new instance with the given detail message and no cause. * * @deprecated Prefer {@linkplain UncheckedExecutionException(String, Throwable)} a constructor
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ConstructorDesc.java
/** * Returns the constructor. * * @param <T> * The type of the Bean * @return The constructor */ <T> Constructor<T> getConstructor(); /** * Returns an array of the parameter types of the constructor. * * @return An array of the parameter types of the constructor */ Class<?>[] getParameterTypes(); /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* Unit tests for {@link SmbException}. * * The tests exercise the public API: constructors, {@link #getNtStatus()}, * {@link #getRootCause()}, and {@link #toString()}. */ @ExtendWith(MockitoExtension.class) class SmbExceptionTest { /** * Happy path – constructor with a valid NT status code (0). */ @Test @DisplayName("Constructor 0 – NT_STATUS_SUCCESS") void testConstructorWithZeroCode() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
private final String roleHint; @Inject private ArtifactFactory artifactFactory; private ConflictResolver conflictResolver; @Inject protected PlexusContainer container; // constructors ----------------------------------------------------------- public AbstractConflictResolverTest(String roleHint) throws Exception { this.roleHint = roleHint; }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlException.java
*/ package org.codelibs.curl; /** * Custom exception class for handling errors related to Curl operations. * This class extends {@link RuntimeException} and provides constructors * to create an exception instance with a message and an optional cause. * * <p>Usage examples:</p> * <pre> * throw new CurlException("Error message"); * throw new CurlException("Error message", cause);Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverNotFoundException.java
// constants -------------------------------------------------------------- /** The serial version ID. */ private static final long serialVersionUID = 3372412184339653914L; // constructors ----------------------------------------------------------- /** * Creates a new <code>ConflictResolverNotFoundException</code> with the specified message. * * @param message the message */Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0)