- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,770 for constructors (0.05 sec)
-
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) { X instance = newFromConstructor(constructor, cause); if (instance != null) { if (instance.getCause() == null) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) { X instance = newFromConstructor(constructor, cause); if (instance != null) { if (instance.getCause() == null) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java
import java.lang.annotation.Target; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Marks a dependency injection point for constructor, method, or field injection. * <p>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
* * <p>There are three constructors available for this exception:</p> * <ul> * <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li> * <li>{@link #SuggestSettingsException(Throwable)}: Constructs a new exception with the specified cause.</li>
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
import jcifs.CIFSException; /** * Tests for SMBProtocolDecodingException covering all constructors and observable behavior. */ @ExtendWith(MockitoExtension.class) public class SMBProtocolDecodingExceptionTest { @Mock Throwable mockCause; @Test @DisplayName("No-arg constructor: null message and cause; can be thrown") void defaultConstructor_behavesAsExpected() { // Arrange & ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java
/** * Tests <code>FarthestConflictResolver</code>. * * @see FarthestConflictResolver */ @Deprecated class FarthestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- FarthestConflictResolverTest() throws Exception { super("farthest"); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java
/** * Tests <code>NearestConflictResolver</code>. * * @see NearestConflictResolver */ @Deprecated class NearestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- NearestConflictResolverTest() throws Exception { super("nearest"); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java
/** * Tests <code>OldestConflictResolver</code>. * * @see OldestConflictResolver */ @Deprecated class OldestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- OldestConflictResolverTest() throws Exception { super("oldest"); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java
private static final long serialVersionUID = 1L; /** * Constructs a new SuggesterException with the specified detail message. * @param msg The detail message. */ public SuggesterException(final String msg) { super(msg); } /** * Constructs a new SuggesterException with the specified cause. * @param cause The cause. */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0)