Changeset 10218


Ignore:
Timestamp:
10/24/05 21:32:09 (16 years ago)
Author:
piso
Message:

writeToString()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/JavaObject.java

    r10216 r10218  
    33 *
    44 * Copyright (C) 2002-2005 Peter Graves
    5  * $Id: JavaObject.java,v 1.19 2005-10-24 21:13:26 piso Exp $
     5 * $Id: JavaObject.java,v 1.20 2005-10-24 21:32:09 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    9797    }
    9898
    99     public String writeToString()
     99    public String writeToString() throws ConditionThrowable
    100100    {
    101101        if (obj instanceof ConditionThrowable)
    102102            return obj.toString();
    103         FastStringBuffer sb = new FastStringBuffer("JAVAOBJECT ");
     103        final FastStringBuffer sb =
     104            new FastStringBuffer(Symbol.JAVA_OBJECT.writeToString());
     105        sb.append(' ');
    104106        sb.append(obj == null ? "null" : obj.getClass().getName());
    105107        return unreadableString(sb.toString());
Note: See TracChangeset for help on using the changeset viewer.