Author: shawkins
Date: 2012-05-31 16:36:33 -0400 (Thu, 31 May 2012)
New Revision: 4154
Modified:
branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidException.java
branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidRuntimeException.java
Log:
TEIID-2060 fixing toString methods
Modified: branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidException.java
===================================================================
--- branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidException.java 2012-05-31
19:46:20 UTC (rev 4153)
+++ branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidException.java 2012-05-31
20:36:33 UTC (rev 4154)
@@ -162,12 +162,4 @@
return super.getCause();
}
- /**
- * Returns a string representation of this class.
- *
- * @return String representation of instance
- */
- public String toString() {
- return getFullMessage();
- }
}
Modified:
branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidRuntimeException.java
===================================================================
---
branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidRuntimeException.java 2012-05-31
19:46:20 UTC (rev 4153)
+++
branches/7.7.x/common-core/src/main/java/org/teiid/core/TeiidRuntimeException.java 2012-05-31
20:36:33 UTC (rev 4154)
@@ -22,7 +22,6 @@
package org.teiid.core;
-import org.teiid.core.util.ExceptionUtil;
/**
@@ -136,13 +135,4 @@
this.code = code;
}
- /**
- * Returns a string representation of this class.
- *
- * @return String representation of instance
- */
- public String toString() {
- return ExceptionUtil.getLinkedMessages(this);
- }
-
}
Show replies by date