valueFromName static method
Implementation
static ErrorCode valueFromName(String name) {
for (int i = 0; i < _values.length; ++i) {
ErrorCode num = _values[i];
if (num.getName() == name) {
return num;
}
}
return ERROR_INTERNAL_ERROR;
}