spice_value.cpp: replace std::invalid_argument by KI_PARAM_ERROR (replacement forgotten in commit a288d6199
)
see commit a288d6199
for the reasons of this replacement.
This commit is contained in:
parent
a288d6199e
commit
da392728d4
|
@ -76,7 +76,7 @@ SPICE_VALUE::SPICE_VALUE( const wxString& aString )
|
|||
case 't': m_prefix = PFX_TERA; break;
|
||||
|
||||
default:
|
||||
throw std::invalid_argument( _( "Invalid unit prefix" ) );
|
||||
throw KI_PARAM_ERROR( _( "Invalid unit prefix" ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue