CharacterEncoderError.st
author Stefan Vogel <sv@exept.de>
Wed, 29 Jan 2014 17:08:17 +0100
changeset 15923 6bc82606b914
parent 11296 5ac13a45fc3d
child 17267 1d49121c1dc7
child 17711 39faaaf888b4
permissions -rw-r--r--
class: Win32OperatingSystem changed: #setBlocking:on: fix return value
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7908
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     1
"
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     2
 COPYRIGHT (c) 2004 by eXept Software AG
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     3
              All Rights Reserved
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     4
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     5
 This software is furnished under a license and may be used
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     6
 only in accordance with the terms of that license and with the
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     8
 be provided or otherwise made available to, or used by, any
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
     9
 other person.  No title to or ownership of the software is
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    10
 hereby transferred.
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    11
"
7900
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
7930
67f25a577055 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7908
diff changeset
    14
ConversionError subclass:#CharacterEncoderError
7907
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    15
	instanceVariableNames:'defaultValue'
7900
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'Collections-Text-Encodings'
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
7908
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    21
!CharacterEncoderError class methodsFor:'documentation'!
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    22
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    23
copyright
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    24
"
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    25
 COPYRIGHT (c) 2004 by eXept Software AG
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    26
              All Rights Reserved
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    27
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    28
 This software is furnished under a license and may be used
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    29
 only in accordance with the terms of that license and with the
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    31
 be provided or otherwise made available to, or used by, any
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    32
 other person.  No title to or ownership of the software is
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    33
 hereby transferred.
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    34
"
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    35
!
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    36
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    37
documentation
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    38
"
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    39
    raised if no encoding/decoding exists for some codePoint
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    40
    while converting 
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    41
    (for example, when converting unicode to iso8859-x and vice versa).
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    42
"
69ed349024cb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7907
diff changeset
    43
! !
7900
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
7907
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    45
!CharacterEncoderError methodsFor:'accessing'!
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    46
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    47
defaultValue
8046
f1357bb6aa47 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7934
diff changeset
    48
    ^ defaultValue ? 16rFFFF    "/ unicode invalid character
7907
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    49
!
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    50
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    51
defaultValue:something
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    52
    defaultValue := something.
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    53
! !
e6e69d83cba0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 7900
diff changeset
    54
8046
f1357bb6aa47 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7934
diff changeset
    55
!CharacterEncoderError methodsFor:'queries'!
f1357bb6aa47 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7934
diff changeset
    56
11296
5ac13a45fc3d defaultResumeValue
Claus Gittinger <cg@exept.de>
parents: 10490
diff changeset
    57
defaultResumeValue
5ac13a45fc3d defaultResumeValue
Claus Gittinger <cg@exept.de>
parents: 10490
diff changeset
    58
    ^ self defaultValue
5ac13a45fc3d defaultResumeValue
Claus Gittinger <cg@exept.de>
parents: 10490
diff changeset
    59
!
5ac13a45fc3d defaultResumeValue
Claus Gittinger <cg@exept.de>
parents: 10490
diff changeset
    60
8046
f1357bb6aa47 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7934
diff changeset
    61
isInvalidEncodingError
f1357bb6aa47 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7934
diff changeset
    62
    ^ false
f1357bb6aa47 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7934
diff changeset
    63
! !
f1357bb6aa47 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7934
diff changeset
    64
7900
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
!CharacterEncoderError class methodsFor:'documentation'!
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
version
11296
5ac13a45fc3d defaultResumeValue
Claus Gittinger <cg@exept.de>
parents: 10490
diff changeset
    68
    ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderError.st,v 1.9 2008-10-30 19:54:05 cg Exp $'
7900
060183ed2ac8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
! !