Class PunchoutExceptionAdvice
java.lang.Object
de.hybris.platform.b2bpunchoutocc.exception.PunchoutExceptionAdvice
@RestControllerAdvice(assignableTypes=PunchOutController.class)
public class PunchoutExceptionAdvice
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
PunchoutExceptionAdvice
public PunchoutExceptionAdvice()
-
-
Method Details
-
handlePunchoutException
@ExceptionHandler(PunchOutException.class) @ResponseStatus(OK) public CXML handlePunchoutException(PunchOutException exc) -
handleGenericException
@ExceptionHandler(java.lang.Exception.class) @ResponseStatus(INTERNAL_SERVER_ERROR) public CXML handleGenericException(Exception exc)
-