Class ApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.sdase.commons.shared.api.error.ApiException
-
- All Implemented Interfaces:
java.io.Serializable
public class ApiException extends java.lang.RuntimeException
Exception that should be thrown within rest services.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApiException.Builder
static interface
ApiException.FinalBuilder
static interface
ApiException.HttpCodeBuilder
static interface
ApiException.TitleBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApiException.HttpCodeBuilder
builder()
ApiError
getDTO()
int
getHttpCode()
-
-
-
Method Detail
-
getHttpCode
public int getHttpCode()
-
getDTO
public ApiError getDTO()
-
builder
public static ApiException.HttpCodeBuilder builder()
-
-