incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r772897 - in /incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview: Version.java commands/HeapdumpCommand.java commands/infocommands/InfoThreadCommand.java
Date Fri, 08 May 2009 09:02:29 GMT
Author: spoole
Date: Fri May  8 09:02:29 2009
New Revision: 772897

URL: http://svn.apache.org/viewvc?rev=772897&view=rev
Log:
updated katoview to use new modified API (ie removed last vestiges  of "DTFJ")

Modified:
    incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/Version.java
    incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/HeapdumpCommand.java
    incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/infocommands/InfoThreadCommand.java

Modified: incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/Version.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/Version.java?rev=772897&r1=772896&r2=772897&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/Version.java
(original)
+++ incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/Version.java
Fri May  8 09:02:29 2009
@@ -38,7 +38,7 @@
 	public static String getAllVersionInfo(ImageFactory factory)
 	{
 		String DTFJViewVersion = getName() + " version " + getVersion();
-		String DTFJAPIVersion = factory.getDTFJMajorVersion() + "." + factory.getDTFJMinorVersion();
+		String DTFJAPIVersion = factory.getKatoMajorVersion() + "." + factory.getKatoMinorVersion();
 
 		return DTFJViewVersion + ", using DTFJ API version " + DTFJAPIVersion;
 	}

Modified: incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/HeapdumpCommand.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/HeapdumpCommand.java?rev=772897&r1=772896&r2=772897&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/HeapdumpCommand.java
(original)
+++ incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/HeapdumpCommand.java
Fri May  8 09:02:29 2009
@@ -36,7 +36,7 @@
 import org.apache.kato.dtfjview.heapdump.classic.ClassicHeapDumpFormatter;
 import org.apache.kato.image.CorruptData;
 import org.apache.kato.image.CorruptDataException;
-import org.apache.kato.image.DTFJException;
+import org.apache.kato.image.KatoException;
 import org.apache.kato.image.DataUnavailable;
 import org.apache.kato.image.Image;
 import org.apache.kato.image.ImageAddressSpace;
@@ -398,7 +398,7 @@
 								instanceSize,
 								classObject != null ? (int)classObject.getPersistentHashcode() : 0,
 								getClassReferences(thisJavaClass) );
-				} catch(DTFJException ex) {
+				} catch(KatoException ex) {
 					//Handle CorruptDataException and DataUnavailableException the same way
 					_numberOfErrors++;
 					reportError(null,ex);
@@ -526,7 +526,7 @@
 				reportError("Couldn't get Java class loader for: " + thisJavaClass.getName() + "(" +
thisJavaClass.getID() + ")",null);
 			}
 			
-		} catch(DTFJException ex) {
+		} catch(KatoException ex) {
 			reportError(null,ex);
 			_numberOfErrors++;
 		}
@@ -686,7 +686,7 @@
 			} else {
 				addRegularObjectReferences(thisObject, references,thisClass);
 			}
-		} catch(DTFJException ex) {
+		} catch(KatoException ex) {
 			_numberOfErrors++;
 			reportError(null,ex);
 		}

Modified: incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/infocommands/InfoThreadCommand.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/infocommands/InfoThreadCommand.java?rev=772897&r1=772896&r2=772897&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/infocommands/InfoThreadCommand.java
(original)
+++ incubator/kato/trunk/org.apache.kato.tools.katoview/src/org/apache/kato/dtfjview/commands/infocommands/InfoThreadCommand.java
Fri May  8 09:02:29 2009
@@ -30,7 +30,7 @@
 import org.apache.kato.dtfjview.commands.helpers.Utils;
 import org.apache.kato.image.CorruptData;
 import org.apache.kato.image.CorruptDataException;
-import org.apache.kato.image.DTFJException;
+import org.apache.kato.image.KatoException;
 import org.apache.kato.image.DataUnavailable;
 import org.apache.kato.image.Image;
 import org.apache.kato.image.ImageAddressSpace;
@@ -357,7 +357,7 @@
 					try {
 						ImageThread it = jt.getImageThread();  
 						currID = it.getID();
-					} catch (DTFJException e) {
+					} catch (KatoException e) {
 						currID = null;
 					}
 					



Mime
View raw message