1 package org.opencomp.vid.model.mso;
3 public class MsoExceptionResponse {
5 public static class ServiceException {
7 public ServiceException(String messageId, String text) {
8 this.messageId = messageId;
12 public ServiceException() {
15 public String messageId;
19 public ServiceException serviceException;
21 public MsoExceptionResponse() {
24 public MsoExceptionResponse(String messageId, String text) {
25 this.serviceException = new ServiceException(messageId, text);
28 public MsoExceptionResponse(Exception exception) {
29 ExceptionResponse exceptionResponse = new ExceptionResponse(exception);
30 this.serviceException = new ServiceException(exceptionResponse.getException(), exceptionResponse.getMessage());