summaryrefslogtreecommitdiff
path: root/java/src/Ice/UserExceptionReaderFactory.java
blob: 4f7c36cd82f42b9c66c18052c63e779b6d138bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// **********************************************************************
//
// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

package Ice;

/**
 * Creates a UserExceptionReader for extracting a user exception
 * from an input stream.
 *
 * @see InputStream
 **/
public interface UserExceptionReaderFactory
{
    /**
     * Creates and throws a UserExceptionReader instance.
     *
     * @param typeId The Slice type ID of the user exception to be instantiated.
     **/
    void createAndThrow(String typeId)
        throws UserExceptionReader;
}