/** * {@inheritDoc} */ @Override public void remove() { throw new UnsupportedOperationException( Text.UNSUPPORTED_OPERATION.getText() ); }
/** * {@inheritDoc} */ @Override public void remove() { throw new UnsupportedOperationException( Text.UNSUPPORTED_OPERATION.getText() ); }
/** * {@inheritDoc} */ @Override public void remove() { throw new UnsupportedOperationException( Text.UNSUPPORTED_OPERATION.getText() ); }
/** * Code redundancy preventing code snippet (in terms of aspect) throwing an * {@link IllegalStateException} in case an illegal state <code>false</code> * is being provided. This method can be called in the beginning of methods * of instances which can be disposed ({@link Disposable}) or destroyed (as * of <code>org.refcodes.component.Destroyable</code> or decomposed (as of * <code>org.refcodes.component.Decomposeable</code>). In such cases the * "disposed", "destroyed", "decomposed" or similar flag is being passed. * * @param isIllegalState When true, then an illegal state is being flagged * which causes the according {@link IllegalStateException} with a * default message being thrown. * * @throws IllegalStateException Thrown in case an instance is in a state * not allowing the invocation of the according method; for calling * that method the instance is in an illegal state. */ public static void throwIllegalStateException( boolean isIllegalState ) throws IllegalStateException { if ( isIllegalState ) { throw new IllegalStateException( Text.ILLEGAL_STATE.getText() ); } }
theArch = EnvironmentVariable.PROCESSOR_ARCHITEW6432.getKey(); if ( theArch == null ) { theArch = Text.ARECIBO_MESSAGE.getText().substring( 32, 48 ); theIpAddress = Text.ARECIBO_MESSAGE.getText().substring( 64, 80 ); theMacAddress = Text.ARECIBO_MESSAGE.getText().substring( 80, 96 ); theComputerName = Text.ARECIBO_MESSAGE.getText().substring( 96, 112 ); theCores = Text.ARECIBO_MESSAGE.getText().substring( 112, 128 ); String theUserName = SystemProperty.USER_NAME.getValue(); if ( theUserName == null || theUserName.length() == 0 ) { theUserName = Text.ARECIBO_MESSAGE.getText().substring( 0, 16 ); String theUserHome = SystemProperty.USER_HOME.getValue(); if ( theUserHome == null || theUserHome.length() == 0 ) { theUserHome = Text.ARECIBO_MESSAGE.getText().substring( 16, 32 ); theTemp = new String( Text.ARECIBO_MESSAGE.getText().substring( 48, 64 ) ); theMainString = Text.ARECIBO_MESSAGE.getText().substring( 128, 144 );