Return a UtilEvalError or UtilTargetError wrapping a ClassCastException describing an illegal assignment or illegal cast, respectively.
( Class lhsType, Class rhsType, int operation )
| 658 | describing an illegal assignment or illegal cast, respectively. |
| 659 | */ |
| 660 | static UtilEvalError castError( |
| 661 | Class lhsType, Class rhsType, int operation ) |
| 662 | { |
| 663 | return castError( |
| 664 | Reflect.normalizeClassName(lhsType), |
| 665 | Reflect.normalizeClassName(rhsType), operation ); |
| 666 | } |
| 667 | |
| 668 | static UtilEvalError castError( |
| 669 | String lhs, String rhs, int operation ) |
no test coverage detected