LibMuse 6.0.2
com.choosemuse.libmuse.Error Class Reference

Public Member Functions

 Error (ErrorType type, int code, String info)
 
ErrorType getType ()
 
int getCode ()
 
String getInfo ()
 
String toString ()
 

Detailed Description

Represents an error from an operation (synchronous or asynchronous). These will be forwarded to any ErrorListeners that are registered.

See also
MuseErrorListener
Muse.registerErrorListener()

Member Function Documentation

§ getCode()

int com.choosemuse.libmuse.Error.getCode ( )
inline

Machine-parseable error code

Returns
a machine parseable error code.

§ getInfo()

String com.choosemuse.libmuse.Error.getInfo ( )
inline

Human-readable description.

Returns
the english error message.

§ getType()

ErrorType com.choosemuse.libmuse.Error.getType ( )
inline

Type of error

Returns
the type of error that has occurred.

§ toString()

String com.choosemuse.libmuse.Error.toString ( )
inline

Returns a string representation of this object.

Returns
a string representation of this object.

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