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:
jean-pierre charras 2018-06-05 16:07:47 +02:00
parent a288d6199e
commit da392728d4
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ SPICE_VALUE::SPICE_VALUE( const wxString& aString )
case 't': m_prefix = PFX_TERA; break; case 't': m_prefix = PFX_TERA; break;
default: default:
throw std::invalid_argument( _( "Invalid unit prefix" ) ); throw KI_PARAM_ERROR( _( "Invalid unit prefix" ) );
} }
} }