Open Kilda Java Documentation
org.openkilda.model.response.Error Class Reference

Public Member Functions

 Error (int code, String message)
 
int getCode ()
 
String getMessage ()
 
String toString ()
 

Detailed Description

Represents an error entity.

Definition at line 6 of file Error.java.

Constructor & Destructor Documentation

◆ Error()

org.openkilda.model.response.Error.Error ( int  code,
String  message 
)

Instantiates a new error.

Parameters
codethe code
messagethe message

Definition at line 20 of file Error.java.

Member Function Documentation

◆ getCode()

int org.openkilda.model.response.Error.getCode ( )

Gets the code.

Returns
the code

Definition at line 30 of file Error.java.

◆ getMessage()

String org.openkilda.model.response.Error.getMessage ( )

Gets the message.

Returns
the message

Definition at line 39 of file Error.java.

◆ toString()

String org.openkilda.model.response.Error.toString ( )

Definition at line 48 of file Error.java.


The documentation for this class was generated from the following file: