@ Override public void register ( IESigType eSigType ) throws Exception { if ( typeRegistry . get ( eSigType . getESigTypeId ( ) ) != null ) { throw new Exception ( "Duplicate esig type identifier: " + eSigType . getESigTypeId ( ) ) ; } typeRegistry . put ( eSigType . getESigTypeId ( ) , eSigType ) ; init ( eSigType ) ; }
Registers a new esig type . If a type with the same mnemonic id is already registered an exception is thrown .