Class ConfigServerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.yahoo.vespa.hosted.controller.api.integration.configserver.ConfigServerException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConfigServerException extends java.lang.RuntimeExceptionAn exception due to server error, a bad request, or similar.- Author:
- jonmv
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigServerException.ErrorCode
-
Constructor Summary
Constructors Constructor Description ConfigServerException(ConfigServerException.ErrorCode code, java.lang.String message, java.lang.String context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigServerException.ErrorCodecode()java.lang.Stringmessage()static ConfigServerExceptionreadException(byte[] body, java.lang.String context)
-
-
-
Constructor Detail
-
ConfigServerException
public ConfigServerException(ConfigServerException.ErrorCode code, java.lang.String message, java.lang.String context)
-
-
Method Detail
-
code
public ConfigServerException.ErrorCode code()
-
message
public java.lang.String message()
-
readException
public static ConfigServerException readException(byte[] body, java.lang.String context)
-
-