- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for catch (0.04 sec)
-
src/main/java/jcifs/netbios/NameServiceClientImpl.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
this.connectionState.set(2); // connected try { validateNegotiation(transport, sess); } catch ( CIFSException se ) { try { transport.disconnect(true); } catch ( IOException e ) { log.warn("Failed to disconnect transport", e); se.addSuppressed(e); } throw se;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
} catch ( SmbUnsupportedOperationException e ) { Assume.assumeTrue("No Ntsmbs", false); } finally { try { f.setAttributes(f.getAttributes() & ~SmbConstants.ATTR_READONLY); } catch ( Exception e ) { // ignore }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
@Test public void logonAnonymous () throws IOException { try ( SmbResource f = new SmbFile(getTestShareGuestURL(), withAnonymousCredentials()) ) { checkConnection(f); } catch ( SmbAuthException e ) { if ( e.getNtStatus() != NtStatus.NT_STATUS_ACCESS_DENIED ) { throw e; } Assume.assumeNoException(e); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
if ( str == null ) { return new byte[0]; } try { return str.getBytes(config.getOemEncoding()); } catch ( UnsupportedEncodingException e ) { throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e); } } /** * @param src * @param srcIndex
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
* @see jcifs.CIFSContext#get(java.lang.String) */ @Override public SmbResource get ( String url ) throws CIFSException { try { return new SmbFile(url, this); } catch ( MalformedURLException e ) { throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc} *
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Nov 27 18:25:00 UTC 2022 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
protected void doSend0 ( Request request ) throws IOException { try { doSend(request); } catch ( IOException ioe ) { log.warn("send failed", ioe); try { disconnect(true); } catch ( IOException ioe2 ) { ioe.addSuppressed(ioe2); log.error("disconnect failed", ioe2); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) { throw new PACDecodingException("Malformed kerberos ticket", e); } Enumeration<?> fields = sequence.getObjects(); while ( fields.hasMoreElements() ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { authSequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) { throw new PACDecodingException("Malformed kerberos ticket", e); } this.authorizations = new ArrayList<>(); Enumeration<?> authElements = authSequence.getObjects();
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 2.4K bytes - Viewed (0)