Uses of Class
java.lang.IllegalArgumentException
-
Packages that use IllegalArgumentException Package Description com.ibm.dtfj.java Classes to support Java™ runtime instances.com.ibm.jvm.trace.format.api This API is used to process trace buffers generated by OpenJ9.com.ibm.lang.management OpenJ9 management extensions to java.lang.management.com.sun.jdi This is the core package of the Java Debug Interface (JDI), it defines mirrors for values, types, and the target VirtualMachine itself - as well bootstrapping facilities.com.sun.net.httpserver Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.com.sun.nio.sctp A Java API for Stream Control Transport Protocol.java.awt.print Provides classes and interfaces for a general printing API.java.beans Contains classes related to developing beans -- components based on the JavaBeans™ architecture.java.beans.beancontext Provides classes and interfaces relating to bean context.java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.invoke Thejava.lang.invokepackage provides low-level primitives for interacting with the Java Virtual Machine.java.lang.ref Provides reference-object classes, which support a limited degree of interaction with the garbage collector.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.security Provides the classes and interfaces for the security framework.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.logging Provides the classes and interfaces of the Java™ 2 platform's core logging facilities.java.util.regex Classes for matching character sequences against patterns specified by regular expressions.javax.management Provides the core classes for the Java Management Extensions.javax.management.modelmbean Provides the definition of the ModelMBean classes.javax.management.monitor Provides the definition of the monitor classes.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.management.relation Provides the definition of the Relation Service.javax.management.timer Provides the definition of the Timer MBean.javax.net.ssl Provides classes for the secure socket package.javax.rmi.ssl Provides implementations ofRMIClientSocketFactoryandRMIServerSocketFactoryover the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.xml.parsers Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder.javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX).javax.xml.transform Defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.javax.xml.transform.sax Provides SAX specific transformation classes.jdk.management.jfr This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).jdk.nashorn.api.tree Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.openj9.lang.management OpenJ9 management extensions to java.lang.management. -
-
Uses of IllegalArgumentException in com.ibm.dtfj.java
Methods in com.ibm.dtfj.java that throw IllegalArgumentException Modifier and Type Method Description JavaObjectJavaRuntime. getObjectAtAddress(ImagePointer address)Gets the object located at addressaddressin the heap. -
Uses of IllegalArgumentException in com.ibm.jvm.trace.format.api
Methods in com.ibm.jvm.trace.format.api that throw IllegalArgumentException Modifier and Type Method Description protected voidTraceThread. addRecord(TraceRecord record)Adds a record to the set of records associated with this thread.Constructors in com.ibm.jvm.trace.format.api that throw IllegalArgumentException Constructor Description ActiveSection(TraceContext context, ByteBuffer data)DataHeader(TraceContext context, ByteBuffer data, String signature)DataHeader(TraceContext context, ByteBuffer data, String signature, boolean confirmBody)ProcessorSection(TraceContext context, ByteBuffer data)ServiceSection(TraceContext context, ByteBuffer data)StartupSection(TraceContext context, ByteBuffer data)TraceFileHeader(TraceContext context, ByteBuffer data)TraceRecord(TraceContext context, byte[] data)This will create a TraceRecord from a byte array.TraceRecord(TraceContext context, RandomAccessFile file, long offset)TraceSection(TraceContext context, ByteBuffer data) -
Uses of IllegalArgumentException in com.ibm.lang.management
Methods in com.ibm.lang.management that throw IllegalArgumentException Modifier and Type Method Description longThreadMXBean. getNativeThreadId(long threadId)Find the native (operating system assigned) thread identifiers corresponding to a unique TID (as returned by java/lang/Thread.getId()).long[]ThreadMXBean. getNativeThreadIds(long[] threadIDs)Fetches an array of the native (operating system assigned) identifiers corresponding to unique TIDs (as returned by java/lang/Thread.getId()) specified to it.StringJvmCpuMonitorMXBean. getThreadCategory(long id)This function gets the current value of the thread category for the target thread.ProcessorUsage[]OperatingSystemMXBean. retrieveProcessorUsage(ProcessorUsage[] procArray)Returns an updated array ofProcessorUsageobjects that represent the current snapshot of individual Processor usage times.intJvmCpuMonitorMXBean. setThreadCategory(long id, String category)This function sets the thread category of the target thread. -
Uses of IllegalArgumentException in com.sun.jdi
Constructors in com.sun.jdi that throw IllegalArgumentException Constructor Description JDIPermission(String name, String actions)Constructs a new JDIPermission object. -
Uses of IllegalArgumentException in com.sun.net.httpserver
Methods in com.sun.net.httpserver that throw IllegalArgumentException Modifier and Type Method Description abstract voidHttpServer. removeContext(String path)Removes the context identified by the given path from the server. -
Uses of IllegalArgumentException in com.sun.nio.sctp
Subclasses of IllegalArgumentException in com.sun.nio.sctp Modifier and Type Class Description classInvalidStreamExceptionUnchecked exception thrown when an attempt is made to send a message to an invalid stream. -
Uses of IllegalArgumentException in java.awt.print
Methods in java.awt.print that throw IllegalArgumentException Modifier and Type Method Description voidPageFormat. setOrientation(int orientation)Sets the page orientation. -
Uses of IllegalArgumentException in java.beans
Methods in java.beans that throw IllegalArgumentException Modifier and Type Method Description voidPropertyEditor. setAsText(String text)Set the property value by parsing a given String.voidPropertyEditorSupport. setAsText(String text)Sets the property value by parsing a given String. -
Uses of IllegalArgumentException in java.beans.beancontext
Methods in java.beans.beancontext that throw IllegalArgumentException Modifier and Type Method Description URLBeanContext. getResource(String name, BeanContextChild bcc)Analagous tojava.lang.ClassLoader.getResource(), this method allows aBeanContextimplementation to interpose behavior between the childComponentand underlyingClassLoader.InputStreamBeanContext. getResourceAsStream(String name, BeanContextChild bcc)Analagous tojava.lang.ClassLoader.getResourceAsStream(), this method allows aBeanContextimplementation to interpose behavior between the childComponentand underlyingClassLoader. -
Uses of IllegalArgumentException in java.lang
Subclasses of IllegalArgumentException in java.lang Modifier and Type Class Description classIllegalThreadStateExceptionThrown to indicate that a thread is not in an appropriate state for the requested operation.classNumberFormatExceptionThrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.Methods in java.lang that throw IllegalArgumentException Modifier and Type Method Description protected PackageClassLoader. definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)Define a new Package using the specified information. -
Uses of IllegalArgumentException in java.lang.invoke
Methods in java.lang.invoke that throw IllegalArgumentException Modifier and Type Method Description MethodTypeMethodType. appendParameterTypes(Class<?>... classes)Returns a MethodType with the additional class types appended to the end.MethodTypeMethodType. appendParameterTypes(List<Class<?>> classes)Returns a MethodType with the additional class types appended to the end.static MethodHandleMethodHandles. arrayConstructor(Class<?> arrayType)Return a MethodHandle that produces an array of the requested type with the passed-in length.static MethodHandleMethodHandles. arrayElementGetter(Class<?> arrayType)Return a MethodHandle able to read from the array.static MethodHandleMethodHandles. arrayElementSetter(Class<?> arrayType)Return a MethodHandle able to write to the array.static VarHandleMethodHandles. arrayElementVarHandle(Class<?> arrayClass)Factory method for creating a VarHandle for accessing elements of an array.static MethodHandleMethodHandles. arrayLength(Class<?> arrayType)Return a MethodHandle that fetches the length from the passed-in array.MethodHandleMethodHandle. asCollector(int collectPosition, Class<?> arrayClass, int collectCount)Returns a MethodHandle that collects the requested incoming arguments, which must match the types in MethodType incomingArgs, into an array of arrayClass, called T.MethodHandleMethodHandle. asCollector(Class<?> arrayClass, int collectCount)Returns a MethodHandle that collects the requested incoming arguments, which must match the types in MethodType incomingArgs, into an array of arrayClass, called T.MethodHandleMethodHandle. asSpreader(int spreadPosition, Class<?> arrayClass, int spreadCount)Produce a MethodHandle that has an array of type arrayClass as its argument at the specified position and replaces the array with spreadCount arguments from the array before calling the original MethodHandle.MethodHandleMethodHandle. asSpreader(Class<?> arrayClass, int spreadCount)Produce a MethodHandle that has an array of type arrayClass as its last argument and replaces the array with spreadCount arguments from the array before calling the original MethodHandle.MethodHandleMethodHandle. asVarargsCollector(Class<?> arrayParameter)Create an varargs collector adapter on this MethodHandle.MethodHandleMethodHandle. bindTo(Object value)Bind the value as the first argument to the MethodHandlestatic VarHandleMethodHandles. byteArrayViewVarHandle(Class<?> viewArrayClass, ByteOrder byteOrder)Factory method for creating a VarHandle for accessing elements of a byte array using a view type.static VarHandleMethodHandles. byteBufferViewVarHandle(Class<?> viewArrayClass, ByteOrder byteOrder)Factory method for creating a VarHandle for accessing elements of aByteBufferusing a view type.static MethodHandleMethodHandles. catchException(MethodHandle tryHandle, Class<? extends Throwable> throwableClass, MethodHandle catchHandle)Produce a MethodHandle that implements a try-catch block.static MethodHandleMethodHandles. collectArguments(MethodHandle target, int pos, MethodHandle filter)Produce a MethodHandle that preprocesses some of the arguments by calling the filter handle.static MethodHandleMethodHandles. constant(Class<?> returnType, Object constantValue)Create a MethodHandle that returns the constantValue on each invocation.static MethodHandleMethodHandles. countedLoop(MethodHandle loopCountHandle, MethodHandle initHandle, MethodHandle bodyHandle)Produce a loop handle that executes a given number of iterations.static MethodHandleMethodHandles. countedLoop(MethodHandle startHandle, MethodHandle endHandle, MethodHandle initHandle, MethodHandle bodyHandle)Produce a loop handle that iterates over a range of numbers by specifying the start value and the end value of the loop counter.Class<?>MethodHandles.Lookup. defineClass(byte[] classBytes)Return a class object with the same class loader, the same package and the same protection domain as the lookup's lookup class.static MethodHandleMethodHandles. doWhileLoop(MethodHandle initHandle, MethodHandle bodyHandle, MethodHandle predHandle)Produce a loop handle that wraps an initializer, a loop body and a predicate to execute a do-while loop.static MethodHandleMethodHandles. exactInvoker(MethodType type)Return a MethodHandle that is the equivalent of calling MethodHandles.lookup().findVirtual(MethodHandle.class, "invokeExact", type).static MethodHandleMethodHandles. filterArguments(MethodHandle handle, int startPosition, MethodHandle... filters)Produce a MethodHandle that adapts its arguments using the filter methodhandles before calling the underlying handle.static MethodHandleMethodHandles. filterReturnValue(MethodHandle handle, MethodHandle filter)Return a MethodHandle that will adapt the return value of handle by running the filter on it and returning the result of the filter.static MethodHandleMethodHandles. foldArguments(MethodHandle handle, int foldPosition, MethodHandle preprocessor)Produce a MethodHandle that preprocesses some of the arguments by calling the preprocessor handle.static MethodHandleMethodHandles. foldArguments(MethodHandle handle, MethodHandle preprocessor)Produce a MethodHandle that preprocesses some of the arguments by calling the preprocessor handle.static MethodTypeMethodType. genericMethodType(int numParameters)Static helper method to create a MethodType with only Object return type and parameters.static MethodTypeMethodType. genericMethodType(int numParameters, boolean isVarargs)Wrapper onMethodType.methodType(Class, Class[]).static MethodHandleMethodHandles. guardWithTest(MethodHandle guard, MethodHandle trueTarget, MethodHandle falseTarget)Produce a MethodHandle that implements an if-else block.static MethodHandleMethodHandles. identity(Class<?> classType)Produce a MethodHandle that acts as an identity function.static MethodHandleMethodHandles. invoker(MethodType type)Return a MethodHandle that is the equivalent of calling MethodHandles.lookup().findVirtual(MethodHandle.class, "invoke", type).static MethodHandleMethodHandles. iteratedLoop(MethodHandle iteratorHandle, MethodHandle initHandle, MethodHandle bodyHandle)Produce a loop handle that iterates over a range of values produced by anIterator<T>Loop variables are updated by the return values of the corresponding step handles (including the loop body) in each iteration.static MethodHandleMethodHandles. loop(MethodHandle[]... handleClauses)Produce a loop handle that wraps the logic of loop with an array of MethodHandle clausesstatic MethodHandleMethodHandles. permuteArguments(MethodHandle handle, MethodType permuteType, int... permute)Produce a MethodHandle that will permute the incoming arguments according to the permute array.static MethodHandles.LookupMethodHandles. privateLookupIn(Class<?> targetClass, MethodHandles.Lookup callerLookup)Return a MethodHandles.Lookup object with full capabilities including the access to theprivatemembers in the requested classstatic StringMethodHandleInfo. referenceKindToString(int referenceKind)Returns a string representing the equivalent bytecode for the referenceKind.static <T extends Member>
TMethodHandles. reflectAs(Class<T> expected, MethodHandle target)Gets the underlying Member of the providedtargetMethodHandle.MethodHandleInfoMethodHandles.Lookup. revealDirect(MethodHandle target)Cracks a MethodHandle, which allows access to its symbolic parts.static MethodHandleMethodHandles. spreadInvoker(MethodType type, int fixedArgCount)Return a MethodHandle that is able to invoke a MethodHandle of type as though by invoke after spreading the final Object[] parameter.static MethodHandleMethodHandles. tryFinally(MethodHandle tryHandle, MethodHandle finallyHandle)Produce a MethodHandle that implements a try-finally block.static MethodHandleMethodHandles. whileLoop(MethodHandle initHandle, MethodHandle predHandle, MethodHandle bodyHandle)Produce a loop handle that wraps an initializer, a loop body and a predicate to execute a while loop.MethodHandleMethodHandle. withVarargs(boolean isVarArityNeeded)Return a MethodHandle that is wrapped with an asVarargsCollector adapter if the handle is allowed to be variable arity. -
Uses of IllegalArgumentException in java.lang.ref
Methods in java.lang.ref that throw IllegalArgumentException Modifier and Type Method Description Reference<? extends T>ReferenceQueue. remove(long timeout)Return the next available enqueued reference on the queue, blocking up to the time given until one is available. -
Uses of IllegalArgumentException in java.lang.reflect
Methods in java.lang.reflect that throw IllegalArgumentException Modifier and Type Method Description static ObjectArray. get(Object array, int index)Return the element of the array at the specified index.ObjectField. get(Object obj)Returns the value of the field represented by thisField, on the specified object.static booleanArray. getBoolean(Object array, int index)Return the element of the array at the specified index, converted to a boolean if possible.booleanField. getBoolean(Object obj)Gets the value of a static or instancebooleanfield.static byteArray. getByte(Object array, int index)Return the element of the array at the specified index, converted to a byte if possible.byteField. getByte(Object obj)Gets the value of a static or instancebytefield.static charArray. getChar(Object array, int index)Return the element of the array at the specified index, converted to a char if possible.charField. getChar(Object obj)Gets the value of a static or instance field of typecharor of another primitive type convertible to typecharvia a widening conversion.static doubleArray. getDouble(Object array, int index)Return the element of the array at the specified index, converted to a double if possible.doubleField. getDouble(Object obj)Gets the value of a static or instance field of typedoubleor of another primitive type convertible to typedoublevia a widening conversion.static floatArray. getFloat(Object array, int index)Return the element of the array at the specified index, converted to a float if possible.floatField. getFloat(Object obj)Gets the value of a static or instance field of typefloator of another primitive type convertible to typefloatvia a widening conversion.static intArray. getInt(Object array, int index)Return the element of the array at the specified index, converted to an int if possible.intField. getInt(Object obj)Gets the value of a static or instance field of typeintor of another primitive type convertible to typeintvia a widening conversion.static InvocationHandlerProxy. getInvocationHandler(Object proxy)Returns the invocation handler for the specified proxy instance.static intArray. getLength(Object array)Return the length of the array.static longArray. getLong(Object array, int index)Return the element of the array at the specified index, converted to a long if possible.longField. getLong(Object obj)Gets the value of a static or instance field of typelongor of another primitive type convertible to typelongvia a widening conversion.static Class<?>Proxy. getProxyClass(ClassLoader loader, Class<?>... interfaces)Deprecated.Proxy classes generated in a named module are encapsulated and not accessible to code outside its module.static shortArray. getShort(Object array, int index)Return the element of the array at the specified index, converted to a short if possible.shortField. getShort(Object obj)Gets the value of a static or instance field of typeshortor of another primitive type convertible to typeshortvia a widening conversion.ObjectMethod. invoke(Object obj, Object... args)Invokes the underlying method represented by thisMethodobject, on the specified object with the specified parameters.static ObjectArray. newInstance(Class<?> componentType, int... dimensions)Return a new multidimensional array of the specified component type and dimensions.TConstructor. newInstance(Object... initargs)Uses the constructor represented by thisConstructorobject to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters.static voidArray. set(Object array, int index, Object value)Set the element of the array at the specified index to the value.voidField. set(Object obj, Object value)Sets the field represented by thisFieldobject on the specified object argument to the specified new value.static voidArray. setBoolean(Object array, int index, boolean value)Set the element of the array at the specified index to the boolean value.voidField. setBoolean(Object obj, boolean z)Sets the value of a field as abooleanon the specified object.static voidArray. setByte(Object array, int index, byte value)Set the element of the array at the specified index to the byte value.voidField. setByte(Object obj, byte b)Sets the value of a field as abyteon the specified object.static voidArray. setChar(Object array, int index, char value)Set the element of the array at the specified index to the char value.voidField. setChar(Object obj, char c)Sets the value of a field as acharon the specified object.static voidArray. setDouble(Object array, int index, double value)Set the element of the array at the specified index to the double value.voidField. setDouble(Object obj, double d)Sets the value of a field as adoubleon the specified object.static voidArray. setFloat(Object array, int index, float value)Set the element of the array at the specified index to the float value.voidField. setFloat(Object obj, float f)Sets the value of a field as afloaton the specified object.static voidArray. setInt(Object array, int index, int value)Set the element of the array at the specified index to the int value.voidField. setInt(Object obj, int i)Sets the value of a field as aninton the specified object.static voidArray. setLong(Object array, int index, long value)Set the element of the array at the specified index to the long value.voidField. setLong(Object obj, long l)Sets the value of a field as alongon the specified object.static voidArray. setShort(Object array, int index, short value)Set the element of the array at the specified index to the short value.voidField. setShort(Object obj, short s)Sets the value of a field as ashorton the specified object. -
Uses of IllegalArgumentException in java.nio.channels
Subclasses of IllegalArgumentException in java.nio.channels Modifier and Type Class Description classIllegalChannelGroupExceptionUnchecked exception thrown when an attempt is made to open a channel in a group that was not created by the same provider.classIllegalSelectorExceptionUnchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel.classUnresolvedAddressExceptionUnchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.classUnsupportedAddressTypeExceptionUnchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported. -
Uses of IllegalArgumentException in java.nio.charset
Subclasses of IllegalArgumentException in java.nio.charset Modifier and Type Class Description classIllegalCharsetNameExceptionUnchecked exception thrown when a string that is not a legal charset name is used as such.classUnsupportedCharsetExceptionUnchecked exception thrown when no support is available for a requested charset. -
Uses of IllegalArgumentException in java.nio.file
Subclasses of IllegalArgumentException in java.nio.file Modifier and Type Class Description classInvalidPathExceptionUnchecked exception thrown when path string cannot be converted into aPathbecause the path string contains invalid characters, or the path string is invalid for other file system specific reasons.classProviderMismatchExceptionUnchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider. -
Uses of IllegalArgumentException in java.security
Subclasses of IllegalArgumentException in java.security Modifier and Type Class Description classInvalidParameterExceptionThis exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. -
Uses of IllegalArgumentException in java.util
Subclasses of IllegalArgumentException in java.util Modifier and Type Class Description classDuplicateFormatFlagsExceptionUnchecked exception thrown when duplicate flags are provided in the format specifier.classFormatFlagsConversionMismatchExceptionUnchecked exception thrown when a conversion and flag are incompatible.classIllegalFormatCodePointExceptionUnchecked exception thrown when a character with an invalid Unicode code point as defined byCharacter.isValidCodePoint(int)is passed to theFormatter.classIllegalFormatConversionExceptionUnchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.classIllegalFormatExceptionUnchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.classIllegalFormatFlagsExceptionUnchecked exception thrown when an illegal combination flags is given.classIllegalFormatPrecisionExceptionUnchecked exception thrown when the precision is a negative value other than-1, the conversion does not support a precision, or the value is otherwise unsupported.classIllegalFormatWidthExceptionUnchecked exception thrown when the format width is a negative value other than-1or is otherwise unsupported.classMissingFormatArgumentExceptionUnchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist.classMissingFormatWidthExceptionUnchecked exception thrown when the format width is required.classUnknownFormatConversionExceptionUnchecked exception thrown when an unknown conversion is given.classUnknownFormatFlagsExceptionUnchecked exception thrown when an unknown flag is given.Constructors in java.util that throw IllegalArgumentException Constructor Description DoubleSummaryStatistics(long count, double min, double max, double sum)Constructs a non-empty instance with the specifiedcount,min,max, andsum.IntSummaryStatistics(long count, int min, int max, long sum)Constructs a non-empty instance with the specifiedcount,min,max, andsum.LongSummaryStatistics(long count, long min, long max, long sum)Constructs a non-empty instance with the specifiedcount,min,max, andsum. -
Uses of IllegalArgumentException in java.util.logging
Methods in java.util.logging that throw IllegalArgumentException Modifier and Type Method Description static LevelLevel. parse(String name)Parse a level name string into a Level.Constructors in java.util.logging that throw IllegalArgumentException Constructor Description LoggingPermission(String name, String actions)Creates a new LoggingPermission object. -
Uses of IllegalArgumentException in java.util.regex
Subclasses of IllegalArgumentException in java.util.regex Modifier and Type Class Description classPatternSyntaxExceptionUnchecked exception thrown to indicate a syntax error in a regular-expression pattern. -
Uses of IllegalArgumentException in javax.management
Methods in javax.management that throw IllegalArgumentException Modifier and Type Method Description voidNotificationBroadcaster. addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)Adds a listener to this MBean.voidAttributeChangeNotificationFilter. enableAttribute(String name)Enables all the attribute change notifications the attribute name of which equals the specified name to be sent to the listener.voidNotificationFilterSupport. enableType(String prefix)Enables all the notifications the type of which starts with the specified prefix to be sent to the listener.Constructors in javax.management that throw IllegalArgumentException Constructor Description MBeanInfo(String className, String description, MBeanAttributeInfo[] attributes, MBeanConstructorInfo[] constructors, MBeanOperationInfo[] operations, MBeanNotificationInfo[] notifications)Constructs anMBeanInfo.MBeanInfo(String className, String description, MBeanAttributeInfo[] attributes, MBeanConstructorInfo[] constructors, MBeanOperationInfo[] operations, MBeanNotificationInfo[] notifications, Descriptor descriptor)Constructs anMBeanInfo. -
Uses of IllegalArgumentException in javax.management.modelmbean
Methods in javax.management.modelmbean that throw IllegalArgumentException Modifier and Type Method Description voidModelMBeanNotificationBroadcaster. addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)Registers an object which implements the NotificationListener interface as a listener.voidRequiredModelMBean. addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)Registers an object which implements the NotificationListener interface as a listener. -
Uses of IllegalArgumentException in javax.management.monitor
Methods in javax.management.monitor that throw IllegalArgumentException Modifier and Type Method Description voidMonitor. addObservedObject(ObjectName object)Adds the specified object in the set of observed MBeans, if this object is not already present.voidMonitorMBean. addObservedObject(ObjectName object)Adds the specified object in the set of observed MBeans.voidMonitor. setGranularityPeriod(long period)Sets the granularity period (in milliseconds).voidMonitorMBean. setGranularityPeriod(long period)Sets the granularity period (in milliseconds).voidCounterMonitor. setInitThreshold(Number value)Sets the initial threshold value common to all observed objects.voidCounterMonitorMBean. setInitThreshold(Number value)Sets the initial threshold value common to all observed MBeans.voidCounterMonitor. setModulus(Number value)Sets the modulus value common to all observed MBeans.voidCounterMonitorMBean. setModulus(Number value)Sets the modulus value.voidMonitor. setObservedAttribute(String attribute)Sets the attribute to observe.voidMonitor. setObservedObject(ObjectName object)Deprecated.As of JMX 1.2, replaced byMonitor.addObservedObject(javax.management.ObjectName)voidCounterMonitor. setOffset(Number value)Sets the offset value common to all observed MBeans.voidCounterMonitorMBean. setOffset(Number value)Sets the offset value.voidStringMonitor. setStringToCompare(String value)Sets the string to compare with the observed attribute common to all observed MBeans.voidStringMonitorMBean. setStringToCompare(String value)Sets the string to compare with the observed attribute.voidCounterMonitor. setThreshold(Number value)Deprecated.As of JMX 1.2, replaced byCounterMonitor.setInitThreshold(java.lang.Number)voidCounterMonitorMBean. setThreshold(Number value)Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.setInitThreshold(java.lang.Number)voidGaugeMonitor. setThresholds(Number highValue, Number lowValue)Sets the high and the low threshold values common to all observed MBeans.voidGaugeMonitorMBean. setThresholds(Number highValue, Number lowValue)Sets the high and the low threshold values. -
Uses of IllegalArgumentException in javax.management.openmbean
Subclasses of IllegalArgumentException in javax.management.openmbean Modifier and Type Class Description classInvalidKeyExceptionThis runtime exception is thrown to indicate that a method parameter which was expected to be an item name of a composite data or a row index of a tabular data is not valid.classInvalidOpenTypeExceptionThis runtime exception is thrown to indicate that the open type of an open data value is not the one expected.classKeyAlreadyExistsExceptionThis runtime exception is thrown to indicate that the index of a row to be added to a tabular data instance is already used to refer to another row in this tabular data instance. -
Uses of IllegalArgumentException in javax.management.relation
Methods in javax.management.relation that throw IllegalArgumentException Modifier and Type Method Description voidRoleList. add(int index, Role role)Inserts the role specified as an element at the position specified.voidRoleList. add(Role role)Adds the Role specified as the last element of the list.voidRoleUnresolvedList. add(int index, RoleUnresolved role)Inserts the unresolved role specified as an element at the position specified.voidRoleUnresolvedList. add(RoleUnresolved role)Adds the RoleUnresolved specified as the last element of the list.booleanRoleList. addAll(int index, RoleList roleList)Inserts all of the elements in the RoleList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the RoleList specified.booleanRoleUnresolvedList. addAll(int index, RoleUnresolvedList roleList)Inserts all of the elements in the RoleUnresolvedList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the RoleUnresolvedList specified.voidRelationService. addRelation(ObjectName relationObjectName)Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.voidRelationServiceMBean. addRelation(ObjectName relationObjectName)Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.voidRelationService. addRelationType(RelationType relationTypeObj)Adds given object as a relation type.voidRelationServiceMBean. addRelationType(RelationType relationTypeObj)Adds given object as a relation type.protected voidRelationTypeSupport. addRoleInfo(RoleInfo roleInfo)Add a role info.IntegerRelationService. checkRoleReading(String roleName, String relationTypeName)Checks if given Role can be read in a relation of the given type.IntegerRelationServiceMBean. checkRoleReading(String roleName, String relationTypeName)Checks if given Role can be read in a relation of the given type.IntegerRelationService. checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)Checks if given Role can be set in a relation of given type.IntegerRelationServiceMBean. checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)Checks if given Role can be set in a relation of given type.voidRelationService. createRelation(String relationId, String relationTypeName, RoleList roleList)Creates a simple relation (represented by a RelationSupport object) of given relation type, and adds it in the Relation Service.voidRelationServiceMBean. createRelation(String relationId, String relationTypeName, RoleList roleList)Creates a simple relation (represented by a RelationSupport object) of given relation type, and adds it in the Relation Service.voidRelationService. createRelationType(String relationTypeName, RoleInfo[] roleInfoArray)Creates a relation type (a RelationTypeSupport object) with given role infos (provided by the RoleInfo objects), and adds it in the Relation Service.voidRelationServiceMBean. createRelationType(String relationTypeName, RoleInfo[] roleInfoArray)Creates a relation type (RelationTypeSupport object) with given role infos (provided by the RoleInfo objects), and adds it in the Relation Service.voidMBeanServerNotificationFilter. disableObjectName(ObjectName objectName)Disables MBeanServerNotifications concerning given ObjectName.voidMBeanServerNotificationFilter. enableObjectName(ObjectName objectName)Enables MBeanServerNotifications concerning given ObjectName.Map<ObjectName,List<String>>RelationService. findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)Retrieves the MBeans associated to given one in a relation.Map<ObjectName,List<String>>RelationServiceMBean. findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)Retrieves the MBeans associated to given one in a relation.Map<String,List<String>>RelationService. findReferencingRelations(ObjectName mbeanName, String relationTypeName, String roleName)Retrieves the relations where a given MBean is referenced.Map<String,List<String>>RelationServiceMBean. findReferencingRelations(ObjectName mbeanName, String relationTypeName, String roleName)Retrieves the relations where a given MBean is referenced.List<String>RelationService. findRelationsOfType(String relationTypeName)Returns the relation ids for relations of the given type.List<String>RelationServiceMBean. findRelationsOfType(String relationTypeName)Returns the relation ids for relations of the given type.RoleResultRelationService. getAllRoles(String relationId)Returns all roles present in the relation.RoleResultRelationServiceMBean. getAllRoles(String relationId)Returns all roles present in the relation.Map<ObjectName,List<String>>RelationService. getReferencedMBeans(String relationId)Retrieves MBeans referenced in the various roles of the relation.Map<ObjectName,List<String>>RelationServiceMBean. getReferencedMBeans(String relationId)Retrieves MBeans referenced in the various roles of the relation.StringRelationService. getRelationTypeName(String relationId)Returns name of associated relation type for given relation.StringRelationServiceMBean. getRelationTypeName(String relationId)Returns name of associated relation type for given relation.List<ObjectName>Relation. getRole(String roleName)Retrieves role value for given role name.List<ObjectName>RelationService. getRole(String relationId, String roleName)Retrieves role value for given role name in given relation.List<ObjectName>RelationServiceMBean. getRole(String relationId, String roleName)Retrieves role value for given role name in given relation.List<ObjectName>RelationSupport. getRole(String roleName)Retrieves role value for given role name.IntegerRelation. getRoleCardinality(String roleName)Returns the number of MBeans currently referenced in the given role.IntegerRelationService. getRoleCardinality(String relationId, String roleName)Retrieves the number of MBeans currently referenced in the given role.IntegerRelationServiceMBean. getRoleCardinality(String relationId, String roleName)Retrieves the number of MBeans currently referenced in the given role.IntegerRelationSupport. getRoleCardinality(String roleName)Returns the number of MBeans currently referenced in the given role.RoleInfoRelationService. getRoleInfo(String relationTypeName, String roleInfoName)Retrieves role info for given role name of a given relation type.RoleInfoRelationServiceMBean. getRoleInfo(String relationTypeName, String roleInfoName)Retrieves role info for given role of a given relation type.RoleInfoRelationType. getRoleInfo(String roleInfoName)Returns the role info (RoleInfo object) for the given role info name (null if not found).RoleInfoRelationTypeSupport. getRoleInfo(String roleInfoName)Returns the role info (RoleInfo object) for the given role info name (null if not found).List<RoleInfo>RelationService. getRoleInfos(String relationTypeName)Retrieves list of role infos (RoleInfo objects) of a given relation type.List<RoleInfo>RelationServiceMBean. getRoleInfos(String relationTypeName)Retrieves list of role infos (RoleInfo objects) of a given relation type.RoleResultRelation. getRoles(String[] roleNameArray)Retrieves values of roles with given names.RoleResultRelationService. getRoles(String relationId, String[] roleNameArray)Retrieves values of roles with given names in given relation.RoleResultRelationServiceMBean. getRoles(String relationId, String[] roleNameArray)Retrieves values of roles with given names in given relation.RoleResultRelationSupport. getRoles(String[] roleNameArray)Retrieves values of roles with given names.voidRelation. handleMBeanUnregistration(ObjectName objectName, String roleName)Callback used by the Relation Service when a MBean referenced in a role is unregistered.voidRelationSupport. handleMBeanUnregistration(ObjectName objectName, String roleName)Callback used by the Relation Service when a MBean referenced in a role is unregistered.BooleanRelationService. hasRelation(String relationId)Checks if there is a relation identified in Relation Service with given relation id.BooleanRelationServiceMBean. hasRelation(String relationId)Checks if there is a relation identified in Relation Service with given relation id.booleanMBeanServerNotificationFilter. isNotificationEnabled(Notification notif)Invoked before sending the specified notification to the listener.StringRelationService. isRelation(ObjectName objectName)Returns the relation id associated to the given ObjectName if the MBean has been added as a relation in the Relation Service.StringRelationServiceMBean. isRelation(ObjectName objectName)Returns the relation id associated to the given ObjectName if the MBean has been added as a relation in the Relation Service.ObjectNameRelationService. isRelationMBean(String relationId)If the relation is represented by an MBean (created by the user and added as a relation in the Relation Service), returns the ObjectName of the MBean.ObjectNameRelationServiceMBean. isRelationMBean(String relationId)If the relation is represented by an MBean (created by the user and added as a relation in the Relation Service), returns the ObjectName of the MBean.voidRelationService. removeRelation(String relationId)Removes given relation from the Relation Service.voidRelationServiceMBean. removeRelation(String relationId)Removes given relation from the Relation Service.voidRelationService. removeRelationType(String relationTypeName)Removes given relation type from Relation Service.voidRelationServiceMBean. removeRelationType(String relationTypeName)Removes given relation type from Relation Service.static StringRole. roleValueToString(List<ObjectName> roleValue)Returns a string for the given role value.voidRelationService. sendRelationCreationNotification(String relationId)Sends a notification (RelationNotification) for a relation creation.voidRelationServiceMBean. sendRelationCreationNotification(String relationId)Sends a notification (RelationNotification) for a relation creation.voidRelationService. sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)Sends a notification (RelationNotification) for a relation removal.voidRelationServiceMBean. sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)Sends a notification (RelationNotification) for a relation removal.voidRelationService. sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldValue)Sends a notification (RelationNotification) for a role update in the given relation.voidRelationServiceMBean. sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldRoleValue)Sends a notification (RelationNotification) for a role update in the given relation.voidRoleList. set(int index, Role role)Sets the element at the position specified to be the role specified.voidRoleUnresolvedList. set(int index, RoleUnresolved role)Sets the element at the position specified to be the unresolved role specified.voidRoleUnresolved. setProblemType(int pbType)Sets problem type.voidRelationSupportMBean. setRelationServiceManagementFlag(Boolean flag)Specifies whether this relation is handled by the Relation Service.voidRelation. setRole(Role role)Sets the given role.voidRelationService. setRole(String relationId, Role role)Sets the given role in given relation.voidRelationServiceMBean. setRole(String relationId, Role role)Sets the given role in given relation.voidRelationSupport. setRole(Role role)Sets the given role.voidRole. setRoleName(String roleName)Sets role name.voidRoleUnresolved. setRoleName(String name)Sets role name.RoleResultRelation. setRoles(RoleList roleList)Sets the given roles.RoleResultRelationService. setRoles(String relationId, RoleList roleList)Sets the given roles in given relation.RoleResultRelationServiceMBean. setRoles(String relationId, RoleList roleList)Sets the given roles in given relation.RoleResultRelationSupport. setRoles(RoleList list)Sets the given roles.voidRole. setRoleValue(List<ObjectName> roleValue)Sets role value.voidRelationService. updateRoleMap(String relationId, Role newRole, List<ObjectName> oldValue)Handles update of the Relation Service role map for the update of given role in given relation.voidRelationServiceMBean. updateRoleMap(String relationId, Role newRole, List<ObjectName> oldRoleValue)Handles update of the Relation Service role map for the update of given role in given relation.Constructors in javax.management.relation that throw IllegalArgumentException Constructor Description RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue)Creates a notification for a role update in a relation.RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, List<ObjectName> unregMBeanList)Creates a notification for either a relation creation (RelationSupport object created internally in the Relation Service, or an MBean added as a relation) or for a relation removal from the Relation Service.RelationSupport(String relationId, ObjectName relationServiceName, String relationTypeName, RoleList list)Creates aRelationSupportobject.RelationSupport(String relationId, ObjectName relationServiceName, MBeanServer relationServiceMBeanServer, String relationTypeName, RoleList list)Creates aRelationSupportobject.RelationTypeSupport(String relationTypeName, RoleInfo[] roleInfoArray)Constructor where all role definitions are dynamically created and passed as parameter.Role(String roleName, List<ObjectName> roleValue)Make a new Role object.RoleInfo(String roleName, String mbeanClassName)Constructor.RoleInfo(String roleName, String mbeanClassName, boolean read, boolean write)Constructor.RoleInfo(String roleName, String mbeanClassName, boolean read, boolean write, int min, int max, String descr)Constructor.RoleInfo(RoleInfo roleInfo)Copy constructor.RoleList(List<Role> list)Constructs aRoleListcontaining the elements of theListspecified, in the order in which they are returned by theList's iterator.RoleUnresolved(String name, List<ObjectName> value, int pbType)Constructor.RoleUnresolvedList(List<RoleUnresolved> list)Constructs aRoleUnresolvedListcontaining the elements of theListspecified, in the order in which they are returned by theList's iterator. -
Uses of IllegalArgumentException in javax.management.timer
Methods in javax.management.timer that throw IllegalArgumentException Modifier and Type Method Description IntegerTimer. addNotification(String type, String message, Object userData, Date date)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date and a null period and number of occurrences.IntegerTimer. addNotification(String type, String message, Object userData, Date date, long period)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date and period and a null number of occurrences.IntegerTimer. addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date, period and number of occurrences.IntegerTimer. addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date, period and number of occurrences.IntegerTimerMBean. addNotification(String type, String message, Object userData, Date date)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date and a null period and number of occurrences.IntegerTimerMBean. addNotification(String type, String message, Object userData, Date date, long period)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date and period and a null number of occurrences.IntegerTimerMBean. addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date, period and number of occurrences.IntegerTimerMBean. addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate)Creates a new timer notification with the specifiedtype,messageanduserDataand inserts it into the list of notifications with a given date, period and number of occurrences. -
Uses of IllegalArgumentException in javax.net.ssl
Methods in javax.net.ssl that throw IllegalArgumentException Modifier and Type Method Description voidSSLSessionContext. setSessionCacheSize(int size)Sets the size of the cache used for storingSSLSessionobjects grouped under thisSSLSessionContext.voidSSLSessionContext. setSessionTimeout(int seconds)Sets the timeout limit forSSLSessionobjects grouped under thisSSLSessionContext. -
Uses of IllegalArgumentException in javax.rmi.ssl
Constructors in javax.rmi.ssl that throw IllegalArgumentException Constructor Description SslRMIServerSocketFactory(String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth)Creates a newSslRMIServerSocketFactorywith the specified SSL socket configuration.SslRMIServerSocketFactory(SSLContext context, String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth)Creates a newSslRMIServerSocketFactorywith the specifiedSSLContextand SSL socket configuration. -
Uses of IllegalArgumentException in javax.swing
Methods in javax.swing that throw IllegalArgumentException Modifier and Type Method Description PopupPopupFactory. getPopup(Component owner, Component contents, int x, int y)Creates aPopupfor the Componentownercontaining the Componentcontents.protected PopupPopupFactory. getPopup(Component owner, Component contents, int x, int y, boolean isHeavyWeightPopup)Creates aPopupfor the Componentownercontaining the Componentcontents.voidAbstractButton. setDisplayedMnemonicIndex(int index)Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.voidJLabel. setDisplayedMnemonicIndex(int index)Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic. -
Uses of IllegalArgumentException in javax.xml.parsers
Methods in javax.xml.parsers that throw IllegalArgumentException Modifier and Type Method Description abstract ObjectDocumentBuilderFactory. getAttribute(String name)Allows the user to retrieve specific attributes on the underlying implementation.abstract voidDocumentBuilderFactory. setAttribute(String name, Object value)Allows the user to set specific attributes on the underlying implementation. -
Uses of IllegalArgumentException in javax.xml.stream
Methods in javax.xml.stream that throw IllegalArgumentException Modifier and Type Method Description ObjectXMLEventReader. getProperty(String name)Get the value of a feature/property from the underlying implementationabstract ObjectXMLInputFactory. getProperty(String name)Get the value of a feature/property from the underlying implementationabstract ObjectXMLOutputFactory. getProperty(String name)Get a feature/property on the underlying implementationObjectXMLStreamReader. getProperty(String name)Get the value of a feature/property from the underlying implementationObjectXMLStreamWriter. getProperty(String name)Get the value of a feature/property from the underlying implementationabstract voidXMLInputFactory. setProperty(String name, Object value)Allows the user to set specific feature/property on the underlying implementation.abstract voidXMLOutputFactory. setProperty(String name, Object value)Allows the user to set specific features/properties on the underlying implementation. -
Uses of IllegalArgumentException in javax.xml.transform
Methods in javax.xml.transform that throw IllegalArgumentException Modifier and Type Method Description abstract StringTransformer. getOutputProperty(String name)Get an output property that is in effect for the transformer.abstract voidTransformer. setErrorListener(ErrorListener listener)Set the error event listener in effect for the transformation.abstract voidTransformer. setOutputProperty(String name, String value)Set an output property that will be in effect for the transformation. -
Uses of IllegalArgumentException in javax.xml.transform.sax
Methods in javax.xml.transform.sax that throw IllegalArgumentException Modifier and Type Method Description voidTransformerHandler. setResult(Result result)Set theResultassociated with thisTransformerHandlerto be used for the transformation. -
Uses of IllegalArgumentException in jdk.management.jfr
Methods in jdk.management.jfr that throw IllegalArgumentException Modifier and Type Method Description longFlightRecorderMXBean. cloneRecording(long recordingId, boolean stop)Creates a copy of an existing recording, useful for extracting parts of a recording.Map<String,String>FlightRecorderMXBean. getRecordingOptions(long recordingId)Returns a map that contains the options for the recording with the specified ID (for example, the destination file or time span to keep recorded data).Map<String,String>FlightRecorderMXBean. getRecordingSettings(long recordingId)Returns aMapthat contains the settings for the recording with the specified ID, (for example, the event thresholds)voidFlightRecorderMXBean. setConfiguration(long recordingId, String contents)Sets a configuration as a string representation for the recording with the specified ID.voidFlightRecorderMXBean. setPredefinedConfiguration(long recordingId, String configurationName)Sets a predefined configuration for the recording with the specified ID.voidFlightRecorderMXBean. setRecordingOptions(long recordingId, Map<String,String> options)Configures the recording options (for example, destination file and time span to keep data).voidFlightRecorderMXBean. setRecordingSettings(long recordingId, Map<String,String> settings)Sets and replaces all previous settings for the specified recording.booleanFlightRecorderMXBean. stopRecording(long recordingId)Stops the running recording with the specified ID. -
Uses of IllegalArgumentException in jdk.nashorn.api.tree
Methods in jdk.nashorn.api.tree that throw IllegalArgumentException Modifier and Type Method Description static ParserParser. create(String... options)Deprecated, for removal: This API element is subject to removal in a future version.Factory method to create a new instance of Parser. -
Uses of IllegalArgumentException in openj9.lang.management
Methods in openj9.lang.management that throw IllegalArgumentException Modifier and Type Method Description voidOpenJ9DiagnosticsMXBean. triggerDump(String dumpAgent)This function triggers the specified dump agent.StringOpenJ9DiagnosticsMXBean. triggerDumpToFile(String dumpAgent, String fileNamePattern)This function triggers the specified dump agent.
-