Java Code Examples for org.apache.atlas.AtlasErrorCode#getFormattedErrorMessage()
The following examples show how to use
org.apache.atlas.AtlasErrorCode#getFormattedErrorMessage() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AtlasBaseException.java From atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(AtlasErrorCode errorCode, String ... params) { super(errorCode.getFormattedErrorMessage(params)); this.atlasErrorCode = errorCode; }
Example 2
Source File: AtlasBaseException.java From atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(final AtlasErrorCode errorCode, final List<String> params) { super(errorCode.getFormattedErrorMessage(params.toArray(new String[params.size()]))); this.atlasErrorCode = errorCode; }
Example 3
Source File: AtlasBaseException.java From atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(AtlasErrorCode errorCode, Throwable cause, String... params) { super(errorCode.getFormattedErrorMessage(params), cause); this.atlasErrorCode = errorCode; }
Example 4
Source File: AtlasBaseException.java From atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(AtlasErrorCode errorCode, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String ... params) { super(errorCode.getFormattedErrorMessage(params), cause, enableSuppression, writableStackTrace); this.atlasErrorCode = AtlasErrorCode.INTERNAL_ERROR; }
Example 5
Source File: AtlasBaseException.java From atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(final AtlasErrorCode errorCode, Throwable cause, final List<String> params) { super(errorCode.getFormattedErrorMessage(params.toArray(new String[params.size()])), cause); this.atlasErrorCode = errorCode; }
Example 6
Source File: AtlasBaseException.java From incubator-atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(AtlasErrorCode errorCode, String ... params) { super(errorCode.getFormattedErrorMessage(params)); this.atlasErrorCode = errorCode; }
Example 7
Source File: AtlasBaseException.java From incubator-atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(final AtlasErrorCode errorCode, final List<String> params) { super(errorCode.getFormattedErrorMessage(params.toArray(new String[params.size()]))); this.atlasErrorCode = errorCode; }
Example 8
Source File: AtlasBaseException.java From incubator-atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(AtlasErrorCode errorCode, Throwable cause, String... params) { super(errorCode.getFormattedErrorMessage(params), cause); this.atlasErrorCode = errorCode; }
Example 9
Source File: AtlasBaseException.java From incubator-atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(AtlasErrorCode errorCode, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String ... params) { super(errorCode.getFormattedErrorMessage(params), cause, enableSuppression, writableStackTrace); this.atlasErrorCode = AtlasErrorCode.INTERNAL_ERROR; }
Example 10
Source File: AtlasBaseException.java From incubator-atlas with Apache License 2.0 | 4 votes |
public AtlasBaseException(final AtlasErrorCode errorCode, Throwable cause, final List<String> params) { super(errorCode.getFormattedErrorMessage(params.toArray(new String[params.size()])), cause); this.atlasErrorCode = errorCode; }