Package csw.params.commands
Class CommandResponse.Error
- java.lang.Object
- 
- csw.params.commands.CommandResponse.Error
 
- 
- All Implemented Interfaces:
- CommandResponse,- CommandResponse.MatchingResponse,- CommandResponse.QueryResponse,- CommandResponse.RemoteMsg,- CommandResponse.SubmitResponse,- CommandSerializable,- java.io.Serializable,- scala.Equals,- scala.Product
 - Enclosing interface:
- CommandResponse
 
 public static class CommandResponse.Error extends java.lang.Object implements CommandResponse.SubmitResponse, CommandResponse.MatchingResponse, CommandResponse.RemoteMsg, scala.Product, java.io.Serializable Represents a negative response that describes an error in executing the commandparam: runId of command for which this response is created param: message describing the reason or cause or action item of the error encountered while executing the command - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface csw.params.commands.CommandResponseCommandResponse.Accepted, CommandResponse.Accepted$, CommandResponse.Cancelled, CommandResponse.Cancelled$, CommandResponse.CommandNotAvailable, CommandResponse.CommandNotAvailable$, CommandResponse.Completed, CommandResponse.Completed$, CommandResponse.CompletedWithResult, CommandResponse.CompletedWithResult$, CommandResponse.Error, CommandResponse.Error$, CommandResponse.Invalid, CommandResponse.Invalid$, CommandResponse.Locked, CommandResponse.Locked$, CommandResponse.MatchingResponse, CommandResponse.OnewayResponse, CommandResponse.QueryResponse, CommandResponse.RemoteMsg, CommandResponse.Started, CommandResponse.Started$, CommandResponse.SubmitResponse, CommandResponse.ValidateCommandResponse, CommandResponse.ValidateResponse
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringmessage()IdrunId()A helper method to get the runId for this command response
 
- 
- 
- 
Constructor Detail- 
Errorpublic Error(Id runId, java.lang.String message) 
 
- 
 - 
Method Detail- 
runIdpublic Id runId() Description copied from interface:CommandResponseA helper method to get the runId for this command response- Specified by:
- runIdin interface- CommandResponse
- Returns:
- the runId of command for which this response is created
 
 - 
messagepublic java.lang.String message() 
 
- 
 
-