Dart API Referencedart:ioFileIOException

FileIOException Class

Implements

Exception

Constructors

Code const FileIOException([String message = "", OSError osError = null]) #

const FileIOException([String this.message = "",
                       OSError this.osError = null]);

Methods

Code String toString() #

String toString() {
  StringBuffer sb = new StringBuffer();
  sb.add("FileIOException");
  if (!message.isEmpty()) {
    sb.add(": $message");
    if (osError != null) {
      sb.add(" ($osError)");
    }
  } else if (osError != null) {
    sb.add(": osError");
  }
  return sb.toString();
}

Fields

Code final String message #

final String message;

Code final OSError osError #

final OSError osError;