Brooklyn

brooklyn.rest.domain
[Java] Class ApiError

java.lang.Object
  brooklyn.rest.domain.ApiError

public class ApiError

Nested Class Summary
static class ApiError.Builder

 
Method Summary
java.lang.Object ApiError(java.lang.String message, java.lang.String details)

static ApiError.Builder builder()

boolean equals(java.lang.Object other)

static ApiError.Builder fromThrowable(java.lang.Throwable t)

@return An ApiError.Builder whose message is initialised to either the throwable's message or the throwable's class name if the message is null and whose details are initialised to the throwable's stack trace.

java.lang.String getDetails()

java.lang.String getMessage()

int hashCode()

java.lang.String toString()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

ApiError

public java.lang.Object ApiError(@JsonProperty("message") java.lang.String message, @JsonProperty("details") java.lang.String details)


builder

public static ApiError.Builder builder()


equals

@Override
public boolean equals(java.lang.Object other)


fromThrowable

public static ApiError.Builder fromThrowable(java.lang.Throwable t)
Returns:
An ApiError.Builder whose message is initialised to either the throwable's message or the throwable's class name if the message is null and whose details are initialised to the throwable's stack trace.


getDetails

public java.lang.String getDetails()


getMessage

public java.lang.String getMessage()


hashCode

@Override
public int hashCode()


toString

@Override
public java.lang.String toString()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.