IWarningInfo

public interface IWarningInfo

Represents a base interface for all warnings.

Methods

Method Description
sendWarning(IWarningCallback receiver) If receiver is not null ends warning to a specified receiver and throws the AbortRequestedException if receiver decided to abort a operation.
getWarningType() Returns a type of warning.
getDescription() Returns a human readable description of this warning.

sendWarning(IWarningCallback receiver)

public abstract void sendWarning(IWarningCallback receiver)

If receiver is not null ends warning to a specified receiver and throws the AbortRequestedException if receiver decided to abort a operation.

Parameters:

Parameter Type Description
receiver IWarningCallback Receiver object IWarningCallback

getWarningType()

public abstract int getWarningType()

Returns a type of warning. Read-only WarningType(#getWarningType.getWarningType).

Returns: int

getDescription()

public abstract String getDescription()

Returns a human readable description of this warning. Read-only String.

Returns: java.lang.String