UnsupportedCommandException

Exception that is thrown when unsupported command is obtained or in case there is no class for given Protobuf command message.

Constructors

Link copied to clipboard
public void UnsupportedCommandException(Command command)

Inherited properties

Link copied to clipboard
public final static String ATTR_COMMAND_TYPE_NAME
The name of the attribute of the command type reported in an error.
Link copied to clipboard
Link copied to clipboard
public final Command command
Link copied to clipboard

Inherited functions

Link copied to clipboard
public final synchronized void addSuppressed(Throwable exception)
Link copied to clipboard
public Error asError()
Converts this instance into an io.spine.base.Error.
Link copied to clipboard
Converts this instance into a java.lang.Throwable.
Link copied to clipboard
public static Map<String, Value> commandTypeAttribute(Message commandMessage)
Returns a map with a command type attribute.
Link copied to clipboard
protected static Error createError(String format, Command command, CommandValidationError errorCode)
Link copied to clipboard
public synchronized Throwable fillInStackTrace()
Link copied to clipboard
public synchronized Throwable getCause()
Link copied to clipboard
public Command getCommand()
Returns a related command.
Link copied to clipboard
Link copied to clipboard
public String getMessage()
Link copied to clipboard
Link copied to clipboard
public final synchronized Array<Throwable> getSuppressed()
Link copied to clipboard
public synchronized Throwable initCause(Throwable cause)
Link copied to clipboard
protected static String messageFormat(String format, Command command)
Builds a formatted string for the passed format and a command.
Link copied to clipboard
public void printStackTrace()
Link copied to clipboard
public void setStackTrace(Array<StackTraceElement> stackTrace)
Link copied to clipboard
public String toString()