Package com.netlang.net
Class NHttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.netlang.net.NHttpException
- All Implemented Interfaces:
Serializable
The
NHttpException class- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a newly createdNHttpExceptionNHttpException(String arg0) Initializes a newly createdNHttpExceptionNHttpException(String arg0, Throwable arg1) Initializes a newly createdNHttpExceptionNHttpException(String arg0, Throwable arg1, boolean arg2, boolean arg3) Initializes a newly createdNHttpExceptionNHttpException(Throwable arg0) Initializes a newly createdNHttpException -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetStatusCode(int statusCode) withStatusCode(int statusCode) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NHttpException
public NHttpException()Initializes a newly createdNHttpException -
NHttpException
Initializes a newly createdNHttpException- Parameters:
arg0-
-
NHttpException
Initializes a newly createdNHttpException- Parameters:
arg0-
-
NHttpException
Initializes a newly createdNHttpException- Parameters:
arg0-arg1-
-
NHttpException
Initializes a newly createdNHttpException- Parameters:
arg0-arg1-arg2-arg3-
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
withStatusCode
-
setStatusCode
public void setStatusCode(int statusCode)
-