OpenError.st
author Stefan Vogel <sv@exept.de>
Tue, 28 Apr 2020 16:22:44 +0200
changeset 25376 88a3329875ba
parent 25169 366ba1117187
permissions -rw-r--r--
#REFACTORING by stefan class: MethodDictionary class removed: #newWithCapacity: moved to superclass

"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libbasic' }"

"{ NameSpace: Smalltalk }"

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

!OpenError class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!OpenError class methodsFor:'initialization'!

initialize
    NotifierString := 'open error'.
! !

!OpenError methodsFor:'accessing'!

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

    (parameter respondsTo:#pathName) ifTrue:[
        ^ parameter pathName.
    ].
    ^ parameter

    "Modified: / 16-01-2008 / 20:24:24 / cg"
!

stream
    "the stream which failed to open"

    ^ parameter
! !

!OpenError class methodsFor:'documentation'!

version
    ^ '$Header$'
! !


OpenError initialize!