summaryrefslogtreecommitdiff
path: root/java/src/Ice/UserExceptionReaderFactory.java
blob: 0a740dc6bd10f4c1730b45a40229dc60f6d09da3 (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-2013 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;
}