Open Kilda Java Documentation
ExternalSystemException.java
Go to the documentation of this file.
1 package org.openkilda.exception;
2 
6 public class ExternalSystemException extends RuntimeException {
7 
9  private static final long serialVersionUID = 1L;
10 
12  private Integer code = null;
13 
18  super();
19  }
20 
30  public ExternalSystemException(final Integer code, final String message, final Throwable cause,
31  final boolean enableSuppression, final boolean writableStackTrace) {
32  super(message, cause, enableSuppression, writableStackTrace);
33  this.code = code;
34  }
35 
43  public ExternalSystemException(final Integer code, final String message, final Throwable cause) {
44  super(message, cause);
45  this.code = code;
46  }
47 
54  public ExternalSystemException(final Integer code, final String message) {
55  super(message);
56  this.code = code;
57  }
58 
64  public ExternalSystemException(final Throwable cause) {
65  super(cause);
66  }
67 
73  public Integer getCode() {
74  return code;
75  }
76 }
ExternalSystemException(final Integer code, final String message, final Throwable cause)
ExternalSystemException(final Integer code, final String message, final Throwable cause, final boolean enableSuppression, final boolean writableStackTrace)
ExternalSystemException(final Integer code, final String message)