Package thredds.server.reify
Class LoadCommon.SendError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- thredds.server.reify.LoadCommon.SendError
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LoadCommon
public static class LoadCommon.SendError extends RuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description inthttpcode
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SendError
public SendError(int httpcode)
Generate an error based on the parameters- Parameters:
httpcode- 0=>no code specified
-
SendError
public SendError(int httpcode, Exception t)Generate an error based on the parameters- Parameters:
httpcode- 0=>no code specifiedt- exception that caused the error; may not be null
-
SendError
public SendError(int httpcode, String msg)
-
-