Uses of Class
org.marketcetera.util.except.I18NException
-
Packages that use I18NException Package Description org.marketcetera.util.except Nested exception framework with internationalization (i18n) and thread interruption support.org.marketcetera.util.exec Process execution.org.marketcetera.util.file Miscellaneous utilities for file management.org.marketcetera.util.l10n Message localization tools.org.marketcetera.util.unicode Unicode en/decoding with BOMs, including I/O stream support.org.marketcetera.util.ws.stateful Web services infrastructure.org.marketcetera.util.ws.stateless Infrastructure for stateless communication between client and server.org.marketcetera.util.ws.tags Tags used to identify aspects of web services, and filters for those tags. -
-
Uses of I18NException in org.marketcetera.util.except
Subclasses of I18NException in org.marketcetera.util.except Modifier and Type Class Description classI18NInterruptedExceptionAn internationalized exception indicating interruption.Methods in org.marketcetera.util.except that return I18NException Modifier and Type Method Description static I18NExceptionExceptUtils. wrap(Throwable throwable)If the given throwable is an interruption exception perExceptUtils.isInterruptException(Throwable), then the throwable is wrapped inside aI18NInterruptedException, and this exception is returned; also, the calling thread is interrupted.static I18NExceptionExceptUtils. wrap(Throwable throwable, I18NBoundMessage message)If the given throwable is an interruption exception perExceptUtils.isInterruptException(Throwable), then the throwable is wrapped inside aI18NInterruptedException, and this exception is returned; also, the calling thread is interrupted. -
Uses of I18NException in org.marketcetera.util.exec
Methods in org.marketcetera.util.exec that throw I18NException Modifier and Type Method Description static ExecResultExec. run(File directory, Disposition disposition, String... args)Executes the process with the given arguments and returns the execution result.static ExecResultExec. run(String name, Disposition disposition, String... args)Executes the process with the given arguments and returns the execution result. -
Uses of I18NException in org.marketcetera.util.file
Methods in org.marketcetera.util.file that throw I18NException Modifier and Type Method Description static voidDeleter. apply(File root)Deletes the file tree rooted at the given root.static voidDeleter. apply(String name)Deletes the file tree rooted at the file with the given name.voidDeleter.RecursiveDeleter. applyUnwrap(File file)Deletes the given file.static voidCopyBytesUtils. copy(byte[] data, String name)Copies an in-memory byte array into the given location.static longCopyBytesUtils. copy(InputStream in, boolean inSkipClose, OutputStream out, boolean outSkipClose)Copies a byte stream from the given source to the given sink.static longCopyBytesUtils. copy(InputStream in, boolean skipClose, String out)Copies a byte stream from the given source to the given location.static byte[]CopyBytesUtils. copy(String name)Copies a byte stream from the given location into memory, returning a byte array.static longCopyBytesUtils. copy(String in, OutputStream out, boolean skipClose)Copies a byte stream from the given location to the given sink.static longCopyBytesUtils. copy(String in, String out)Copies a byte stream from one given location to another.static voidCopyCharsUnicodeUtils. copy(char[] data, String name, SignatureCharset requestedSignatureCharset)Copies an in-memory character array into the given location and using the given signature/charset.static longCopyCharsUnicodeUtils. copy(Reader in, boolean skipClose, String out)Copies a character stream from the given source to the given location, attempting to retain signature/charset information.static char[]CopyCharsUnicodeUtils. copy(String name, DecodingStrategy decodingStrategy)Copies the character stream at the given location (and interpreted using the given strategy) into memory, returning a character array.static longCopyCharsUnicodeUtils. copy(String in, DecodingStrategy decodingStrategy, Writer out, boolean skipClose)Copies a character stream from the given location (and interpreted using the given strategy) to the given sink.static longCopyCharsUnicodeUtils. copy(String in, DecodingStrategy decodingStrategy, String out)Copies a character stream from one given location (and interpreted using the given strategy) to another, attempting to retain signature/charset information.static voidCopyCharsUtils. copy(char[] data, String name)Copies an in-memory character array into the given location.static longCopyCharsUtils. copy(Reader in, boolean inSkipClose, Writer out, boolean outSkipClose)Copies a character stream from the given source to the given sink.static longCopyCharsUtils. copy(Reader in, boolean skipClose, String out)Copies a character stream from the given source to the given location.static char[]CopyCharsUtils. copy(String name)Copies the character stream at the given location into memory, returning a character array.static longCopyCharsUtils. copy(String in, Writer out, boolean skipClose)Copies a character stream from the given location to the given sink.static longCopyCharsUtils. copy(String in, String out)Copies a character stream from one given location to another. -
Uses of I18NException in org.marketcetera.util.l10n
Methods in org.marketcetera.util.l10n that throw I18NException Modifier and Type Method Description protected voidContainerClassInfo. addMessage(I18NMessage message)Adds the given message to the receiver's meta-information.private voidContainerClassInfo. setProvider(I18NMessageProvider provider)Sets the internationalized message provider declared in the receiver's container class to the given one.Constructors in org.marketcetera.util.l10n that throw I18NException Constructor Description ContainerClassInfo(Class<?> container)Creates a new meta-information holder for the given message container class.MessageComparator(Class<?> container)Creates a new comparator for the given container class and the fallback properties file deduced from the class's message provider.MessageComparator(Class<?> container, Locale locale)Creates a new comparator for the given container class and the properties file deduced from the class's message provider and the given locale.MessageComparator(ContainerClassInfo classInfo)Creates a new comparator for the given container class meta-information and the properties file deduced from the container's message provider.MessageComparator(ContainerClassInfo classInfo, Locale locale)Creates a new comparator for the given container class meta-information and the properties file deduced from the container's message provider and the given locale.PropertiesFileInfo(I18NMessageProvider provider)Creates a new meta-information holder for the fallback properties file associated with the given provider.PropertiesFileInfo(I18NMessageProvider provider, Locale locale)Creates a new meta-information holder for the properties file associated with the given provider and locale. -
Uses of I18NException in org.marketcetera.util.unicode
Methods in org.marketcetera.util.unicode that throw I18NException Modifier and Type Method Description voidSignatureCharset. assertSupported()Asserts that the JVM supports the receiver's charset.voidUnicodeCharset. assertSupported()Asserts that the JVM supports the receiver's charset.StringDecodingStrategy. decode(byte[] data)Decodes the given byte array using the charset paired to a signature (among the signature/charset pairs within the receiver's serializations) that matches the array header, and returns the result.static StringSerialization. decode(Serialization[] candidates, byte[] data)Decodes the given byte array using the charset paired to a signature (among the pairs of the given serializations) that matches the array header, and returns the result.StringSignatureCharset. decode(byte[] data)Decodes the given byte array using the receiver's charset, and returns the result.StringUnicodeCharset. decode(byte[] data)Decodes the given byte array using the receiver's charset, and returns the result.StringUnicodeCharset. decode(byte[] data, int offset, int length)Decodes the given portion of the given byte array using the receiver's charset, and returns the result.byte[]SignatureCharset. encode(String data)Encodes the given string using the receiver's charset, and returns the result.byte[]UnicodeCharset. encode(String data)Encodes the given string using the receiver's charset, and returns the result. -
Uses of I18NException in org.marketcetera.util.ws.stateful
Methods in org.marketcetera.util.ws.stateful that throw I18NException Modifier and Type Method Description voidClient. assertValidSession()Asserts that an active session is in progress.protected SessionHolder<T>RemoteCall. getSessionHolder(ClientContext context)Asserts that the given client context matches all of the receiver's filters.voidClient. login(String user, char[] password)Initiates a new session using the given credentials.private SessionIdAuthServiceImpl. loginImpl(StatelessClientContext context, String user, char[] password)Logs in the client with the given context, provided the given credentials are acceptable.booleanAuthenticator. shouldAllow(StatelessClientContext inContext, String inUsername, char[] inRawPassword)Checks whether the given credentials can be used to initiate a new session on behalf of the client with the given context. -
Uses of I18NException in org.marketcetera.util.ws.stateless
Methods in org.marketcetera.util.ws.stateless that throw I18NException Modifier and Type Method Description protected voidStatelessRemoteCall. assertFilterMatch(StatelessClientContext context)Asserts that the given client context matches all of the receiver's filters.protected static voidStatelessRemoteCall. assertFilterMatch(TagFilter filter, Tag tag)Asserts that the given filter matches the given tag. -
Uses of I18NException in org.marketcetera.util.ws.tags
Subclasses of I18NException in org.marketcetera.util.ws.tags Modifier and Type Class Description classSessionExpiredExceptionIndicates that a session has expired.classSessionRequiredExceptionIndicates that a session is required.Methods in org.marketcetera.util.ws.tags that throw I18NException Modifier and Type Method Description voidEqualsTagFilter. assertMatch(Tag tag)voidNonNullTagFilter. assertMatch(Tag tag)voidTagFilter. assertMatch(Tag tag)Asserts that the given tag is acceptable to the receiver.voidValidSessionTagFilter. assertMatch(Tag inTag)
-