Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NbtException (0.07 sec)

  1. src/main/java/jcifs/netbios/NbtException.java

            }
            return result.toString();
        }
    
        /**
         * Constructs an NbtException with the specified error class and code.
         *
         * @param errorClass the NetBIOS error class
         * @param errorCode the NetBIOS error code
         */
        public NbtException(final int errorClass, final int errorCode) {
            super(getErrorString(errorClass, errorCode));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtException.java

            }
            return result.toString();
        }
    
        /**
         * Constructs an NbtException with the specified error class and code.
         *
         * @param errorClass the NetBIOS error class
         * @param errorCode the NetBIOS error code
         */
        public NbtException(final int errorClass, final int errorCode) {
            super(getErrorString(errorClass, errorCode));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtExceptionTest.java

                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.IMP_ERR, "ERR_NAM_SRVC/Unknown error code: 4"),
                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.RFS_ERR, "ERR_NAM_SRVC/Unknown error code: 5"),
                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.ACT_ERR, "ERR_NAM_SRVC/Unknown error code: 6"),
                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.CFT_ERR, "ERR_NAM_SRVC/Unknown error code: 7"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        }
    
        @Test
        @DisplayName("toString includes class, code and error string")
        void testToString() {
            NbtException e = new NbtException(NbtException.ERR_SSN_SRVC, NbtException.NO_RESOURCES);
            String str = e.toString();
            assertTrue(str.contains("errorClass=2"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                final int errorCode = in.read() & 0xFF;
                close();
                throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode);
            case -1:
                throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
            default:
                close();
                throw new NbtException(NbtException.ERR_SSN_SRVC, 0);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    disconnect(true);
                    throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
                default:
                    disconnect(true);
                    throw new NbtException(NbtException.ERR_SSN_SRVC, 0);
                }
            } while ((calledName.name = address.nextCalledName()) != null);
    
            throw new IOException("Failed to establish session with " + address);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                    disconnect(true);
                    throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
                default:
                    disconnect(true);
                    throw new NbtException(NbtException.ERR_SSN_SRVC, 0);
                }
            } while ((calledName.name = this.address.nextCalledName(tc)) != null);
    
            throw new IOException("Failed to establish session with " + this.address);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top