OpenError.st
author Stefan Vogel <sv@exept.de>
Fri, 03 Sep 2004 13:31:47 +0200
changeset 8514 9e18649ad0c9
parent 8509 b62464d549f5
child 8728 d70396dc4e96
permissions -rw-r--r--
Log pathname in description of OpenError

"{ Package: 'stx:libbasic' }"

StreamError subclass:#OpenError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!


!OpenError methodsFor:'accessing'!

pathName
    "the name of the file/device which failed to open"

    ^ parameter pathName
!

stream
    "the stream which failed to open"

    ^ parameter
! !

!OpenError methodsFor:'printing & storing'!

description

    ^ super description , ': ', self pathName

    "
        '/tmp/nIcHtExIsTeNt' asFilename readStream
    "
! !

!OpenError class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic/OpenError.st,v 1.4 2004-09-03 11:31:47 stefan Exp $'
! !