DirectoryIOException class
class DirectoryIOException implements Exception { const DirectoryIOException([String this.message = "", String this.path = "", OSError this.osError = null]); String toString() { StringBuffer sb = new StringBuffer(); sb.add("DirectoryIOException"); if (!message.isEmpty()) { sb.add(": $message"); if (path != null) { sb.add(", path = $path"); } if (osError != null) { sb.add(" ($osError)"); } } else if (osError != null) { sb.add(": $osError"); if (path != null) { sb.add(", path = $path"); } } return sb.toString(); } final String message; final String path; final OSError osError; }
Implements
Constructors
Properties
Methods
String toString() #
Returns a string representation of this object.
docs inherited from Object
String toString() { StringBuffer sb = new StringBuffer(); sb.add("DirectoryIOException"); if (!message.isEmpty()) { sb.add(": $message"); if (path != null) { sb.add(", path = $path"); } if (osError != null) { sb.add(" ($osError)"); } } else if (osError != null) { sb.add(": $osError"); if (path != null) { sb.add(", path = $path"); } } return sb.toString(); }