@@ -50,22 +50,22 @@ public long is_attribute_initialized(ThreadContext tc, SixModelObject class_hand
50
50
* Boxing related functions.
51
51
*/
52
52
public void set_int (ThreadContext tc , long value ) {
53
- throw ExceptionHandling .dieInternal (tc , this . st . REPR . name + " representation can not box a native int " );
53
+ throw ExceptionHandling .dieInternal (tc , "This type cannot box a native integer " );
54
54
}
55
55
public long get_int (ThreadContext tc ) {
56
- throw ExceptionHandling .dieInternal (tc , this . st . REPR . name + " representation can not unbox to a native int " );
56
+ throw ExceptionHandling .dieInternal (tc , "This type cannot unbox to a native integer " );
57
57
}
58
58
public void set_num (ThreadContext tc , double value ) {
59
- throw ExceptionHandling .dieInternal (tc , this . st . REPR . name + " representation can not box a native num " );
59
+ throw ExceptionHandling .dieInternal (tc , "This type cannot box a native number " );
60
60
}
61
61
public double get_num (ThreadContext tc ) {
62
- throw ExceptionHandling .dieInternal (tc , this . st . REPR . name + " representation can not unbox to a native num " );
62
+ throw ExceptionHandling .dieInternal (tc , "This type cannot unbox to a native number " );
63
63
}
64
64
public void set_str (ThreadContext tc , String value ) {
65
- throw ExceptionHandling .dieInternal (tc , this . st . REPR . name + " representation can not box a native str " );
65
+ throw ExceptionHandling .dieInternal (tc , "This type cannot box a native string " );
66
66
}
67
67
public String get_str (ThreadContext tc ) {
68
- throw ExceptionHandling .dieInternal (tc , this . st . REPR . name + " representation can not unbox to a native str " );
68
+ throw ExceptionHandling .dieInternal (tc , "This type cannot unbox to a native string " );
69
69
}
70
70
public void set_boxing_of (ThreadContext tc , long reprId , Object value ) {
71
71
throw ExceptionHandling .dieInternal (tc , this .st .REPR .name + " representation can not box "
0 commit comments