- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 139 for catch (0.04 sec)
-
src/main/java/jcifs/smb/SpnegoContext.java
private static ASN1ObjectIdentifier SPNEGO_MECH_OID; static { try { SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); } catch ( IllegalArgumentException e ) { log.error("Failed to initialize OID", e); } } private SSPContext mechContext; private boolean firstResponse = true; private boolean completed;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Jan 04 04:18:31 UTC 2021 - 14.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
this.disallowCompound = disallow; } protected void initDefaults () throws CIFSException { try { "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING); } catch ( UnsupportedEncodingException uee ) { throw new CIFSException( "The default OEM encoding " + SmbConstants.DEFAULT_OEM_ENCODING + " does not appear to be supported by this JRE."); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
break; default: Assume.assumeTrue("Unhandled OEM encoding " + oemEncoding, false); } } catch ( UnsupportedCharsetException e ) { Assume.assumeTrue("Charset is not supported on this VM " + oemEncoding, false); } runFilenameTest(splitString(str, 8)); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try ( SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport() ) { return transport.isSMB2(); } catch ( SmbException e ) { log.debug("Failed to connect for determining SMB2 support", e); return false; } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
throws ConnectionTimeoutException, CIFSException { try { f.createNewFile(); assertTrue("Did not see error", false); } catch ( SmbException e ) { if ( e.getCause() instanceof ConnectionTimeoutException ) { long timeout = System.currentTimeMillis() - start; assertTrue( String.format(
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
if ( this.realm == null ) this.realm = "jCIFS"; this.transportContext = new BaseContext(new PropertyConfiguration(p));; } catch ( CIFSException ex ) { throw new ServletException("Failed to initialize config", ex); } } @Override
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
treq.setFileInformation(new FileEndOfFileInformation(0)); th.send(treq, RequestParam.NO_RETRY); } } } catch ( CIFSException e ) { throw SmbException.wrap(e); } } SmbFileOutputStream ( SmbFile file, SmbTreeHandleImpl th, SmbFileHandleImpl handle, int openFlags, int access, int sharing )
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* have a real NetBIOS name */ this.calledName = null; return getHostName(); } } catch ( UnknownHostException uhe ) { this.calledName = null; } } else { this.calledName = null; } return this.calledName; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
int start = bufferIndex; int len = readStringLength( buffer, bufferIndex, 32 ); try { service = new String( buffer, bufferIndex, len, "ASCII" ); } catch( UnsupportedEncodingException uee ) { return 0; } bufferIndex += len + 1; // win98 observed not returning nativeFileSystem
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.9K bytes - Viewed (0)