FileDoesNotExistException.st
author Claus Gittinger <cg@exept.de>
Tue, 09 Jul 2019 20:55:17 +0200
changeset 24417 03b083548da2
parent 20886 64d45ff90ab6
child 21024 8734987eb5c7
permissions -rw-r--r--
#REFACTORING by exept class: Smalltalk class changed: #recursiveInstallAutoloadedClassesFrom:rememberIn:maxLevels:noAutoload:packageTop:showSplashInLevels: Transcript showCR:(... bindWith:...) -> Transcript showCR:... with:...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14835
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     1
"
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     2
 COPYRIGHT (c) 2011 by eXept Software AG
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     3
              All Rights Reserved
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     4
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     5
 This software is furnished under a license and may be used
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     6
 only in accordance with the terms of that license and with the
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     8
 be provided or otherwise made available to, or used by, any
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
     9
 other person.  No title to or ownership of the software is
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    10
 hereby transferred.
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    11
"
13664
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
20886
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    14
"{ NameSpace: Smalltalk }"
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    15
13664
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
OpenError subclass:#FileDoesNotExistException
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'Kernel-Exceptions-Errors'
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
14835
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    23
!FileDoesNotExistException class methodsFor:'documentation'!
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    24
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    25
copyright
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    26
"
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    27
 COPYRIGHT (c) 2011 by eXept Software AG
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    28
              All Rights Reserved
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    29
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    30
 This software is furnished under a license and may be used
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    31
 only in accordance with the terms of that license and with the
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    33
 be provided or otherwise made available to, or used by, any
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    34
 other person.  No title to or ownership of the software is
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    35
 hereby transferred.
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    36
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    37
"
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    38
! !
13664
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
20886
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    40
!FileDoesNotExistException methodsFor:'accessing'!
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    41
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    42
description
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    43
    |pathName|
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    44
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    45
    (pathName := self pathName) notNil ifTrue:[
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    46
        pathName isFilename ifTrue:[
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    47
            pathName := pathName pathName.
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    48
        ]. 
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    49
        pathName isString ifTrue:[
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    50
            ^ super description,': "',pathName,'"'
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    51
        ].    
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    52
    ].
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    53
    ^ super description
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    54
! !
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    55
13664
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
!FileDoesNotExistException class methodsFor:'documentation'!
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
version
20886
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    59
    ^ '$Header$'
13664
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
!
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
version_CVS
20886
64d45ff90ab6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 14835
diff changeset
    63
    ^ '$Header$'
13664
44ec0d965e57 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
! !
14835
ef4642596133 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 13664
diff changeset
    65