Package org.sentinel.servers.http.protocol

Examples of org.sentinel.servers.http.protocol.NoSuchHTTPStatusCodeException


    @Test
    public void testInstantiation()
    {
        try {
            throw new NoSuchHTTPStatusCodeException("999");
        }
        catch(NoSuchHTTPStatusCodeException ex) {
            assertEquals("No such HTTP status code 999", ex.getMessage());
            assertTrue(ex instanceof HTTPException);
            assertTrue(ex instanceof ServerException);
View Full Code Here

TOP

Related Classes of org.sentinel.servers.http.protocol.NoSuchHTTPStatusCodeException

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.