public class ApiErrorMessage extends Object
Constructor and Description |
---|
ApiErrorMessage()
Empty constructor, for JAX-B.
|
ApiErrorMessage(String message)
Constructs a new ApiErrorMessage with the given error message, and no
causes.
|
ApiErrorMessage(Throwable t)
Constructs a new ApiErrorMessage that provides information about
the given error.
|
public ApiErrorMessage()
public ApiErrorMessage(Throwable t)
t
- The error being wrapped.public ApiErrorMessage(String message)
message
- The error message.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.