Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

Way-Fi 1.6.0

Constructors

constructor(code: Int, message: String)

Types

abstract class Activation : WayFiException

Base class for all the exceptions thrown during the activation of the library.

Exception thrown when the activation is denied.

Represents an exception thrown when the library is already initialized.

class ArcNotFound(code: Int, message: String) : WayFiException

Exception thrown when the specified arc was not found.

class CategoryNotFound(code: Int, message: String) : WayFiException

Exception thrown when the specified category was not found.

class DuplicateArc(code: Int, message: String) : WayFiException

Exception thrown when trying to add a duplicated arc.

class Generic(val type: Int, code: Int, message: String) : WayFiException

Represents an unmapped exception.

abstract class GeoJson : WayFiException

Base class for all the exceptions thrown while parsing a GeoJSON file.

class GraphFinalized(code: Int, message: String) : WayFiException

Exception thrown when trying to execute an action after the graph was finalized.

class IllegalNode(code: Int, message: String) : WayFiException

Exception thrown when trying to add a node inside a wall.

class Impossible(code: Int, message: String) : WayFiException

Exception thrown when something unexpected happens.

class IndexOutOfRange(code: Int, message: String) : WayFiException

Exception thrown when an invalid index is passed to a function.

class InvalidArgument(code: Int, message: String) : WayFiException

Exception thrown when an invalid argument is passed to a method.

class InvalidBorder(code: Int, message: String) : WayFiException

Exception thrown when trying to add an invalid border.

Exception thrown when an invalid context is passed to WayFi.init.

class InvalidPoint(code: Int, message: String) : WayFiException

Exception thrown when a invalid point (e.g. it is inside a wall) is provided.

class InvalidReference(code: Int, message: String) : WayFiException

Exception thrown when trying to access a released resource.

Exception thrown when trying to add a universal link fails.

abstract class IO : WayFiException

Base class for all the I/O exceptions.

abstract class Json : WayFiException

Base class for all the exceptions thrown while reading a JSON file.

class LayerNotFound(code: Int, message: String) : WayFiException

Exception thrown when the specified layer was not found.

Represents an exception thrown when the native memory allocation fails.

class MissingInput(code: Int, message: String) : WayFiException

Exception thrown when source and destination were not provided.

class MissingLinkLayer(code: Int, message: String) : WayFiException

Exception thrown when the layer of a link was not found.

class MissingLinkTarget(code: Int, message: String) : WayFiException

Exception thrown when the target of an universal link is not found.

class NodeNotFound(code: Int, message: String) : WayFiException

Exception thrown when the specified node was not found.

class NodeOutOfBorder(code: Int, message: String) : WayFiException

Exception thrown when trying to add a node which is outside the border.

class NotImplemented(code: Int, message: String) : WayFiException

Exception thrown when the called function does not have a valid implementation.

Represents an exception thrown when the library is not initialized.

class NullPointer(code: Int, message: String) : WayFiException

Exception thrown when trying to dereference a null pointer.

class PointOutOfBorder(code: Int, message: String) : WayFiException

Exception thrown when trying to add a point which is outside the border.

Represents an exception thrown when the server returns an unsuccessful response to an authentication request.

class SourceNotSpecified(code: Int, message: String) : WayFiException

Exception thrown when trying to perform an action that cannot be performed until the source has been set.

class SourceSpecified(code: Int, message: String) : WayFiException

Exception thrown when trying to perform an action that cannot be performed after the source has been set.

Represents an exception thrown when the server refused to activate the app.

Exception thrown when the app must be upgraded.

Properties

expect open val cause: Throwable?
val code: Int
expect open val message: String?