litesoft
Diff Revisions
948
vs
949
for /trunk/Java/core/Anywhere/src/org/litesoft/bo/views/ObjectUniqueKey.java
|
@@ -1,7 +1,7 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.bo.views; |
3 |
3 |
|
|
4 |
|
- |
import org.litesoft.commonfoundation.typeutils.*; |
|
4 |
+ |
import org.litesoft.commonfoundation.base.*; |
5 |
5 |
|
|
6 |
6 |
|
import java.io.*; |
7 |
7 |
|
|
|
@@ -171,7 +171,7 @@ |
171 |
171 |
|
return zID; |
172 |
172 |
|
} |
173 |
173 |
|
} |
174 |
|
- |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a String. but was: " + Objects.justClassNameOf( pID ) ); |
|
174 |
+ |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a String. but was: " + ClassName.simple( pID ) ); |
175 |
175 |
|
} |
176 |
176 |
|
|
177 |
177 |
|
public String parseString( String pID ) { |
|
@@ -187,7 +187,7 @@ |
187 |
187 |
|
if ( pID instanceof Long ) { |
188 |
188 |
|
return (Long) pID; |
189 |
189 |
|
} |
190 |
|
- |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a Long. but was: " + Objects.justClassNameOf( pID ) ); |
|
190 |
+ |
throw new IllegalArgumentException( "Unacceptable ObjectUniqueKey ID, expected a Long. but was: " + ClassName.simple( pID ) ); |
191 |
191 |
|
} |
192 |
192 |
|
|
193 |
193 |
|
public Long parseLong( String pID ) { |