Package org.jnode.net

Examples of org.jnode.net.InvalidLayerException


    /**
     * @see org.jnode.net.NetworkLayer#registerTransportLayer(org.jnode.net.TransportLayer)
     */
    public void registerTransportLayer(TransportLayer layer)
        throws LayerAlreadyRegisteredException, InvalidLayerException {
        throw new InvalidLayerException("ARP cannot register transportlayers");
    }
View Full Code Here


    public void registerTransportLayer(TransportLayer layer)
        throws LayerAlreadyRegisteredException, InvalidLayerException {
        if (layer instanceof IPv4Protocol) {
            registerProtocol((IPv4Protocol) layer);
        } else {
            throw new InvalidLayerException("No IPv4Protocol");
        }
    }
View Full Code Here

TOP

Related Classes of org.jnode.net.InvalidLayerException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.