- Sort Score
- Num 10 results
- Language All
Results 1011 - 1020 of 3,804 for throws (0.13 seconds)
-
src/main/java/jcifs/util/PathValidator.java
* @return normalized safe path * @throws SmbException if path is invalid or dangerous */ public String validatePath(String path) throws SmbException { if (path == null || path.isEmpty()) { throw new SmbException("Path cannot be null or empty"); } // Check length if (path.length() > maxPathLength) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java
@Override public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException { return factory.getLayout(layoutId); } @Override public ArtifactRepository createDeploymentArtifactRepository( String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} } public void testWithGenericBoundInTypeVariable() throws Exception { TypeVariable<?> typeVariable = (TypeVariable<?>) new WithGenericBound<String>() {}.getTargetType("withTypeVariable"); assertEquals(String.class, typeVariable.getBounds()[0]); } public void testWithRecursiveBoundInTypeVariable() throws Exception { TypeVariable<?> typeVariable =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} } public void testWithGenericBoundInTypeVariable() throws Exception { TypeVariable<?> typeVariable = (TypeVariable<?>) new WithGenericBound<String>() {}.getTargetType("withTypeVariable"); assertEquals(String.class, typeVariable.getBounds()[0]); } public void testWithRecursiveBoundInTypeVariable() throws Exception { TypeVariable<?> typeVariable =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
// Verify witness service is authorized if (!isAuthorizedWitnessServer(witnessServer)) { throw new SecurityException("Unauthorized witness server: " + witnessServer); } } public void validateNotification(WitnessNotification notification) throws SecurityException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
long decodedValue = SMBUtil.readInt8(buffer, offset); assertEquals(endOfFile, decodedValue); } @Test @DisplayName("Test decode method with valid buffer") void testDecode() throws SMBProtocolDecodingException { // Prepare buffer with known value long expectedValue = 0x0123456789ABCDEFL; byte[] buffer = new byte[16]; SMBUtil.writeInt8(expectedValue, buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
throws ModelInterpolationException { interpolateObject(model, model, projectDir, config, debugEnabled); return model; } protected void interpolateObject( Object obj, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) throws ModelInterpolationException { try {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java
* @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped * @throws DcerpcException if the unwrapping operation fails */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
@BeforeEach public void setUp() throws CIFSException { MockitoAnnotations.openMocks(this); config = new PropertyConfiguration(new Properties()); } /** * Test constructor initialization with valid parameters */ @Test @DisplayName("Test constructor initializes fields correctly") public void testConstructor() throws Exception { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* possibility for your response. */ @Throws(IOException::class) fun byteString() = consumeSource(BufferedSource::readByteString) { it.size } private inline fun <T : Any> ResponseBody.consumeSource( consumer: (BufferedSource) -> T, sizeMapper: (T) -> Int, ): T { val contentLength = contentLength() if (contentLength > Int.MAX_VALUE) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0)