author | Claus Gittinger <cg@exept.de> |
Wed, 06 Aug 2008 12:25:20 +0200 | |
changeset 11130 | fb6ebdb8c2a1 |
parent 10490 | 01b97b88bece |
child 11296 | 5ac13a45fc3d |
permissions | -rw-r--r-- |
7908 | 1 |
" |
2 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
7900 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
7930 | 14 |
ConversionError subclass:#CharacterEncoderError |
7907 | 15 |
instanceVariableNames:'defaultValue' |
7900 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
18 |
category:'Collections-Text-Encodings' |
|
19 |
! |
|
20 |
||
7908 | 21 |
!CharacterEncoderError class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
37 |
documentation |
|
38 |
" |
|
39 |
raised if no encoding/decoding exists for some codePoint |
|
40 |
while converting |
|
41 |
(for example, when converting unicode to iso8859-x and vice versa). |
|
42 |
" |
|
43 |
! ! |
|
7900 | 44 |
|
7907 | 45 |
!CharacterEncoderError methodsFor:'accessing'! |
46 |
||
47 |
defaultValue |
|
8046 | 48 |
^ defaultValue ? 16rFFFF "/ unicode invalid character |
7907 | 49 |
! |
50 |
||
51 |
defaultValue:something |
|
52 |
defaultValue := something. |
|
53 |
! ! |
|
54 |
||
8046 | 55 |
!CharacterEncoderError methodsFor:'queries'! |
56 |
||
57 |
isInvalidEncodingError |
|
58 |
^ false |
|
59 |
! ! |
|
60 |
||
7900 | 61 |
!CharacterEncoderError class methodsFor:'documentation'! |
62 |
||
63 |
version |
|
10490
01b97b88bece
removed #defaultAction to really raise an exception
Stefan Vogel <sv@exept.de>
parents:
8148
diff
changeset
|
64 |
^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderError.st,v 1.8 2007-04-03 13:01:03 stefan Exp $' |
7900 | 65 |
! ! |