Class StaticCheckedExceptionApiConverter<DOMAIN extends io.foodtechlab.exception.converter.domain.CheckedDomainException>
- java.lang.Object
-
- io.foodtechlab.exception.converter.core.builtIn.AbstractCheckedExceptionApiConverter<DOMAIN,Void>
-
- io.foodtechlab.exception.converter.core.builtIn.StaticCheckedExceptionApiConverter<DOMAIN>
-
- All Implemented Interfaces:
CheckedExceptionApiConverter<DOMAIN,Void>
public abstract class StaticCheckedExceptionApiConverter<DOMAIN extends io.foodtechlab.exception.converter.domain.CheckedDomainException> extends AbstractCheckedExceptionApiConverter<DOMAIN,Void>
-
-
Field Summary
Fields Modifier and Type Field Description protected DOMAINexception-
Fields inherited from class io.foodtechlab.exception.converter.core.builtIn.AbstractCheckedExceptionApiConverter
dataType, domain, domainExceptionType, reason
-
-
Constructor Summary
Constructors Constructor Description StaticCheckedExceptionApiConverter(String domain, String reason, DOMAIN exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DOMAINreadResponse(Void response)VoidwriteResponse(DOMAIN exception)Может вернуть null-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.foodtechlab.exception.converter.core.CheckedExceptionApiConverter
getDataType, getDomain, getDomainExceptionType, getReason
-
-
-
-
Field Detail
-
exception
protected final DOMAIN extends io.foodtechlab.exception.converter.domain.CheckedDomainException exception
-
-
Method Detail
-
writeResponse
public Void writeResponse(DOMAIN exception)
Description copied from interface:CheckedExceptionApiConverterМожет вернуть null
-
-